Remove Debug output

This commit is contained in:
Arthur Schiwon 2013-03-25 14:23:46 +01:00
parent e2afd0cb42
commit 18554059a4

View file

@ -36,7 +36,6 @@ if (OC::checkUpgrade(false)) {
* @param UpdateWatcher $watcher
*/
function __doFileCacheUpgrade($watcher) {
file_put_contents('/tmp/debug', "START\n", FILE_APPEND);
$query = \OC_DB::prepare('
SELECT DISTINCT user
FROM`*PREFIX*fscache`
@ -47,7 +46,6 @@ function __doFileCacheUpgrade($watcher) {
return;
}
$step = 100 / count($users);
file_put_contents('/tmp/debug', 'Step '. print_r($step, true)."\n", FILE_APPEND);
$percentCompleted = 0;
$lastPercentCompletedOutput = 0;
$startInfoShown = false;