Camelcase fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
7b8debc5d3
commit
6d3a890cb3
|
@ -84,7 +84,7 @@ class SCSSCacher {
|
||||||
$folder = $this->appData->newFolder('core');
|
$folder = $this->appData->newFolder('core');
|
||||||
}
|
}
|
||||||
|
|
||||||
if($this->is_cached($fileNameCSS, $fileNameSCSS, $folder, $path)) {
|
if($this->isCached($fileNameCSS, $fileNameSCSS, $folder, $path)) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return $this->cache($path, $fileNameCSS, $fileNameSCSS, $folder, $webDir);
|
return $this->cache($path, $fileNameCSS, $fileNameSCSS, $folder, $webDir);
|
||||||
|
@ -99,7 +99,7 @@ class SCSSCacher {
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
private function is_cached($fileNameCSS, $fileNameSCSS, ISimpleFolder $folder, $path) {
|
private function isCached($fileNameCSS, $fileNameSCSS, ISimpleFolder $folder, $path) {
|
||||||
try{
|
try{
|
||||||
$cachedFile = $folder->getFile($fileNameCSS);
|
$cachedFile = $folder->getFile($fileNameCSS);
|
||||||
if( $cachedFile->getMTime() > filemtime($path.'/'.$fileNameSCSS)
|
if( $cachedFile->getMTime() > filemtime($path.'/'.$fileNameSCSS)
|
||||||
|
|
Loading…
Reference in New Issue