diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-11-14 16:13:05 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-11-16 19:04:47 +0100 |
commit | b373f52fa8c0eb80338e5f06981f4a048f5720e1 (patch) | |
tree | ff3512ec3f06fda43a7fdb6d80cb19231b2fbf7e /lib/private/Files/Filesystem.php | |
parent | e7b1196dd6ca011d8b60764f7c55a5896e96d106 (diff) | |
download | nextcloud-server-b373f52fa8c0eb80338e5f06981f4a048f5720e1.tar.gz nextcloud-server-b373f52fa8c0eb80338e5f06981f4a048f5720e1.zip |
only use one kind of hack for the storage wrappers of the sharing code
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Files/Filesystem.php')
-rw-r--r-- | lib/private/Files/Filesystem.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php index 3f776a1a809..42a6d950332 100644 --- a/lib/private/Files/Filesystem.php +++ b/lib/private/Files/Filesystem.php @@ -229,7 +229,7 @@ class Filesystem { * @param int $priority */ public static function addStorageWrapper($wrapperName, $wrapper, $priority = 50) { - if (self::$logWarningWhenAddingStorageWrapper && $wrapperName !== 'readonly') { + if (self::$logWarningWhenAddingStorageWrapper) { \OC::$server->getLogger()->warning("Storage wrapper '{wrapper}' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.", [ 'wrapper' => $wrapperName, 'app' => 'filesystem', |