[Pkg-owncloud-commits] [owncloud] 177/199: Missed one.
    David Prévot 
    taffit at moszumanska.debian.org
       
    Sun Jun  1 18:53:23 UTC 2014
    
    
  
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 19f0c47842527d565df3383a2c65830df3f3274f
Author: ringmaster <epithet at gmail.com>
Date:   Fri May 30 10:40:26 2014 -0400
    Missed one.
---
 lib/private/files/cache/scanner.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/private/files/cache/scanner.php b/lib/private/files/cache/scanner.php
index 875d941..6dceaf1 100644
--- a/lib/private/files/cache/scanner.php
+++ b/lib/private/files/cache/scanner.php
@@ -167,7 +167,7 @@ class Scanner extends BasicEmitter {
 				}
 				if (!empty($newData)) {
 					\OC_Hook::emit('Scanner', 'addToCache', array('file' => $file, 'data' => $newData));
-					if(!Config::getSystemValue('filesystem_cache_readonly', false)) {
+					if($this->cacheActive) {
 						$data['fileid'] = $this->cache->put($file, $newData);
 					}
 					$this->emit('\OC\Files\Cache\Scanner', 'postScanFile', array($file, $this->storageId));
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
    
    
More information about the Pkg-owncloud-commits
mailing list