]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix style
authorFrank Karlitschek <frank@owncloud.org>
Mon, 14 Oct 2013 08:57:00 +0000 (10:57 +0200)
committerFrank Karlitschek <frank@owncloud.org>
Mon, 14 Oct 2013 08:57:00 +0000 (10:57 +0200)
lib/private/app.php

index 920906d88366ed71972c55b8424837c50417e513..753114accbc4df36d6a2d3d9df9d3d2f3282000b 100644 (file)
@@ -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);
                }