summaryrefslogtreecommitdiffstats
path: root/lib/private/Template/SCSSCacher.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-01-02 17:05:58 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-01-06 09:42:39 +0100
commit6d3a890cb3dbd001fe40ee3d1d94ab0a501b79a7 (patch)
tree2d334d0ed14261a574d067d7bc41e243df7548c3 /lib/private/Template/SCSSCacher.php
parent7b8debc5d36650654fbc6675a6dca64514ed8461 (diff)
downloadnextcloud-server-6d3a890cb3dbd001fe40ee3d1d94ab0a501b79a7.tar.gz
nextcloud-server-6d3a890cb3dbd001fe40ee3d1d94ab0a501b79a7.zip
Camelcase fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Template/SCSSCacher.php')
-rw-r--r--lib/private/Template/SCSSCacher.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php
index bc493a44e7e..e19640e067a 100644
--- a/lib/private/Template/SCSSCacher.php
+++ b/lib/private/Template/SCSSCacher.php
@@ -84,7 +84,7 @@ class SCSSCacher {
$folder = $this->appData->newFolder('core');
}
- if($this->is_cached($fileNameCSS, $fileNameSCSS, $folder, $path)) {
+ if($this->isCached($fileNameCSS, $fileNameSCSS, $folder, $path)) {
return true;
} else {
return $this->cache($path, $fileNameCSS, $fileNameSCSS, $folder, $webDir);
@@ -99,7 +99,7 @@ class SCSSCacher {
* @param string $path
* @return boolean
*/
- private function is_cached($fileNameCSS, $fileNameSCSS, ISimpleFolder $folder, $path) {
+ private function isCached($fileNameCSS, $fileNameSCSS, ISimpleFolder $folder, $path) {
try{
$cachedFile = $folder->getFile($fileNameCSS);
if( $cachedFile->getMTime() > filemtime($path.'/'.$fileNameSCSS)