diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-06-19 22:50:28 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-06-19 22:54:14 +0200 |
commit | f54ef5a464e3530da36f2ebe7f88052cac0c6ad0 (patch) | |
tree | b6703ab82a2d9ea338d82d6faa56bb18fafa61e3 /lib/base.php | |
parent | d8b32c2f0e962531fa36707faa6deed6ebb2e378 (diff) | |
download | nextcloud-server-f54ef5a464e3530da36f2ebe7f88052cac0c6ad0.tar.gz nextcloud-server-f54ef5a464e3530da36f2ebe7f88052cac0c6ad0.zip |
Remove OC::$CONFIG_DATADIRECTORY, not used
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/base.php b/lib/base.php index db55504117d..6e209afebda 100644 --- a/lib/base.php +++ b/lib/base.php @@ -43,10 +43,6 @@ class OC{ */ public static $WEBROOT = ''; /** - * the folder that stores that data files for the filesystem of the user (e.g. /srv/http/owncloud/data/myusername/files) - */ - public static $CONFIG_DATADIRECTORY = ''; - /** * The installation path of the 3rdparty folder on the server (e.g. /srv/http/owncloud/3rdparty) */ public static $THIRDPARTYROOT = ''; @@ -349,19 +345,11 @@ class OC{ exit; } - // TODO: we should get rid of this one, too - // WARNING: to make everything even more confusing, - // DATADIRECTORY is a var that changes and DATADIRECTORY_ROOT - // stays the same, but is set by "datadirectory". - // Any questions? - OC::$CONFIG_DATADIRECTORY = OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" ); - // User and Groups if( !OC_Config::getValue( "installed", false )){ $_SESSION['user_id'] = ''; } - OC_User::useBackend( OC_Config::getValue( "userbackend", "database" )); OC_Group::useBackend(new OC_Group_Database()); |