summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-08-24 12:00:37 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-08-24 15:14:05 +0200
commite88b380973b54bc7b8bc86f888b1f11ae8e54076 (patch)
treeeb26a996febd377d21d756fdddd884a1a2ea451d /apps/files
parenta67a2272e77485391695af84644e7a9074e50af8 (diff)
downloadnextcloud-server-e88b380973b54bc7b8bc86f888b1f11ae8e54076.tar.gz
nextcloud-server-e88b380973b54bc7b8bc86f888b1f11ae8e54076.zip
Remove DEBUG constant and use config value
* introduces config.php option 'debug' that defaults to false * migrate DEBUG constant to config value
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/appinfo/update.php9
-rw-r--r--apps/files/appinfo/version2
2 files changed, 10 insertions, 1 deletions
diff --git a/apps/files/appinfo/update.php b/apps/files/appinfo/update.php
index 2691c05c348..ff1369bb1a5 100644
--- a/apps/files/appinfo/update.php
+++ b/apps/files/appinfo/update.php
@@ -94,3 +94,12 @@ if ($installedVersion === '1.1.9' && (
}
}
}
+
+/**
+ * migrate old constant DEBUG to new config value 'debug'
+ *
+ * TODO: remove this in ownCloud 8.3
+ */
+if(defined('DEBUG') && DEBUG === true) {
+ \OC::$server->getConfig()->setSystemValue('debug', true);
+}
diff --git a/apps/files/appinfo/version b/apps/files/appinfo/version
index 5ed5faa5f16..9ee1f786d50 100644
--- a/apps/files/appinfo/version
+++ b/apps/files/appinfo/version
@@ -1 +1 @@
-1.1.10
+1.1.11