]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #2934 from nextcloud/quota-stream-non-global
authorRoeland Jago Douma <rullzer@users.noreply.github.com>
Fri, 6 Jan 2017 14:25:20 +0000 (15:25 +0100)
committerGitHub <noreply@github.com>
Fri, 6 Jan 2017 14:25:20 +0000 (15:25 +0100)
remove the need to register the quota streamwrapper globally

1  2 
lib/base.php

diff --cc lib/base.php
index 4023ebf14f9cce9f614865854c9f5a70544befe4,38b07f1b30851944067e24018e50b0581f147dd0..4a9158eff64bd75bb1d69fd0cc691c694f5ea5b7
@@@ -670,8 -667,8 +670,7 @@@ class OC 
                }
  
                // register the stream wrappers
 -              stream_wrapper_register('static', 'OC\Files\Stream\StaticStream');
                stream_wrapper_register('close', 'OC\Files\Stream\Close');
-               stream_wrapper_register('quota', 'OC\Files\Stream\Quota');
  
                \OC::$server->getEventLogger()->start('init_session', 'Initialize session');
                OC_App::loadApps(array('session'));