diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 08:42:49 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 20:29:43 +0200 |
commit | 0e58800016419daf3b2d032136415a5fe9d6331f (patch) | |
tree | c842a8c9104b3c9f2ceab2d505fe01a25f7d0dda /apps/files/ajax | |
parent | 52f2e7112ea985203eca16aa787bd75a7cf92194 (diff) | |
download | nextcloud-server-0e58800016419daf3b2d032136415a5fe9d6331f.tar.gz nextcloud-server-0e58800016419daf3b2d032136415a5fe9d6331f.zip |
Whitespace fixes in apps
Diffstat (limited to 'apps/files/ajax')
-rw-r--r-- | apps/files/ajax/list.php | 4 | ||||
-rw-r--r-- | apps/files/ajax/newfile.php | 2 | ||||
-rw-r--r-- | apps/files/ajax/rawlist.php | 2 | ||||
-rw-r--r-- | apps/files/ajax/scan.php | 9 | ||||
-rw-r--r-- | apps/files/ajax/timezone.php | 1 |
5 files changed, 8 insertions, 10 deletions
diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php index 94ddf0364be..2254526231e 100644 --- a/apps/files/ajax/list.php +++ b/apps/files/ajax/list.php @@ -23,10 +23,10 @@ if($doBreadcrumb) { $breadcrumb[] = array( "dir" => $pathtohere, "name" => $i ); } } - + $breadcrumbNav = new OCP\Template( "files", "part.breadcrumb", "" ); $breadcrumbNav->assign( "breadcrumb", $breadcrumb ); - + $data['breadcrumb'] = $breadcrumbNav->fetchPage(); } diff --git a/apps/files/ajax/newfile.php b/apps/files/ajax/newfile.php index 6ae9c445425..4619315ce09 100644 --- a/apps/files/ajax/newfile.php +++ b/apps/files/ajax/newfile.php @@ -39,7 +39,7 @@ function progress($notification_code, $severity, $message, $message_code, $bytes case STREAM_NOTIFY_FILE_SIZE_IS: $filesize = $bytes_max; break; - + case STREAM_NOTIFY_PROGRESS: if ($bytes_transferred > 0) { if (!isset($filesize)) { diff --git a/apps/files/ajax/rawlist.php b/apps/files/ajax/rawlist.php index 20094563b17..e0aa0bdac52 100644 --- a/apps/files/ajax/rawlist.php +++ b/apps/files/ajax/rawlist.php @@ -11,7 +11,7 @@ OCP\JSON::checkLoggedIn(); // Load the files $dir = isset( $_GET['dir'] ) ? $_GET['dir'] : ''; -$mimetype = isset($_GET['mimetype']) ? $_GET['mimetype'] : ''; +$mimetype = isset($_GET['mimetype']) ? $_GET['mimetype'] : ''; // make filelist $files = array(); diff --git a/apps/files/ajax/scan.php b/apps/files/ajax/scan.php index 23d7da44f8d..d2ec1ab5161 100644 --- a/apps/files/ajax/scan.php +++ b/apps/files/ajax/scan.php @@ -16,13 +16,12 @@ session_write_close(); if($force or !OC_FileCache::inCache('')) { if(!$checkOnly) { OCP\DB::beginTransaction(); - + if(OC_Cache::isFast()) { - //make sure the old fileid's don't mess things up - OC_Cache::clear('fileid/'); + OC_Cache::clear('fileid/'); //make sure the old fileid's don't mess things up } - - OC_FileCache::scan($dir, $eventSource); + + OC_FileCache::scan($dir,$eventSource); OC_FileCache::clean(); OCP\DB::commit(); $eventSource->send('success', true); diff --git a/apps/files/ajax/timezone.php b/apps/files/ajax/timezone.php index 0be441a36a2..b71fa3940cb 100644 --- a/apps/files/ajax/timezone.php +++ b/apps/files/ajax/timezone.php @@ -3,4 +3,3 @@ // see lib/base.php for an example //session_start(); $_SESSION['timezone'] = $_GET['time']; -
\ No newline at end of file |