diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-10-14 10:57:00 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-10-14 10:57:00 +0200 |
commit | a201a668781e1ae701718486feb536f606f5564c (patch) | |
tree | 20a0b89069a1953f0d1bcf929e5d6fd1273d9e12 | |
parent | f06df170cb287009ece7098ff2a28a7af2a0b545 (diff) | |
download | nextcloud-server-a201a668781e1ae701718486feb536f606f5564c.tar.gz nextcloud-server-a201a668781e1ae701718486feb536f606f5564c.zip |
fix style
-rw-r--r-- | lib/private/app.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/app.php b/lib/private/app.php index 920906d8836..753114accbc 100644 --- a/lib/private/app.php +++ b/lib/private/app.php @@ -753,7 +753,7 @@ class OC_App{ $combinedApps = $appList; } // bring the apps into the right order with a custom sort funtion - usort($combinedApps,'\OC_App::customSort'); + usort( $combinedApps, '\OC_App::customSort' ); return $combinedApps; } @@ -771,15 +771,15 @@ class OC_App{ // prio 2: shipped if ($a['shipped'] != $b['shipped']) { - $atemp = ($a['shipped']==true ? 1 : 0); - $btemp = ($b['shipped']==true ? 1 : 0); + $atemp = ($a['shipped'] == true ? 1 : 0); + $btemp = ($b['shipped'] == true ? 1 : 0); return ($btemp - $atemp); } // prio 3: recommended if ($a['internalclass'] != $b['internalclass']) { - $atemp = ($a['internalclass']=='recommendedapp' ? 1 : 0); - $btemp = ($b['internalclass']=='recommendedapp' ? 1 : 0); + $atemp = ($a['internalclass'] == 'recommendedapp' ? 1 : 0); + $btemp = ($b['internalclass'] == 'recommendedapp' ? 1 : 0); return ($btemp - $atemp); } |