diff --git a/core/ajax/update.php b/core/ajax/update.php
index a2fc72f511cb00247098145180180d5126b6096c..e40d0def4e43806ff38721992d0b16b08de11d5a 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -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;