summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-18 12:18:45 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-18 12:18:45 +0200
commitfe90bf4bdce4eb03722382ecbd054035d6b3c590 (patch)
tree89649bf583e90c2c356403c4e64f32a3118b2fe6 /lib
parent67ba9b320ee37c3a89614f3241550c3a0176202a (diff)
downloadnextcloud-server-fe90bf4bdce4eb03722382ecbd054035d6b3c590.tar.gz
nextcloud-server-fe90bf4bdce4eb03722382ecbd054035d6b3c590.zip
disable the backup system for now
Diffstat (limited to 'lib')
-rw-r--r--lib/base.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/base.php b/lib/base.php
index 15f849ce476..acdea093d91 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -150,15 +150,15 @@ class OC_UTIL {
if( $user != "" ){ //if we aren't logged in, there is no use to set up the filesystem
//first set up the local "root" storage and the backupstorage if needed
$rootStorage=OC_FILESYSTEM::createStorage('local',array('datadir'=>$CONFIG_DATADIRECTORY));
- if( OC_CONFIG::getValue( "enablebackup", false )){
- // This creates the Directorys recursively
- if(!is_dir( "$CONFIG_BACKUPDIRECTORY/$user/$root" )){
- mkdir( "$CONFIG_BACKUPDIRECTORY/$user/$root", 0755, true );
- }
- $backupStorage=OC_FILESYSTEM::createStorage('local',array('datadir'=>$CONFIG_BACKUPDIRECTORY));
- $backup=new OC_FILEOBSERVER_BACKUP(array('storage'=>$backupStorage));
- $rootStorage->addObserver($backup);
- }
+// if( OC_CONFIG::getValue( "enablebackup", false )){
+// // This creates the Directorys recursively
+// if(!is_dir( "$CONFIG_BACKUPDIRECTORY/$user/$root" )){
+// mkdir( "$CONFIG_BACKUPDIRECTORY/$user/$root", 0755, true );
+// }
+// $backupStorage=OC_FILESYSTEM::createStorage('local',array('datadir'=>$CONFIG_BACKUPDIRECTORY));
+// $backup=new OC_FILEOBSERVER_BACKUP(array('storage'=>$backupStorage));
+// $rootStorage->addObserver($backup);
+// }
OC_FILESYSTEM::mount($rootStorage,'/');
$CONFIG_DATADIRECTORY = "$CONFIG_DATADIRECTORY_ROOT/$user/$root";