Completed
Push — master ( 7af779...094e1a )
by Julius
02:16
created
lib/Util.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 		foreach ($nav as $app)
48 48
 			$nav_tmp[$app['href']] = $app;
49 49
 		foreach ($order as $app)
50
-			if(array_key_exists($app, $nav_tmp))
50
+			if (array_key_exists($app, $nav_tmp))
51 51
 				$result[$app] = $nav_tmp[$app];
52 52
 		foreach ($nav as $app)
53 53
 			if (!array_key_exists($app['href'], $result))
Please login to merge, or discard this patch.
lib/Controller/AppController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,14 +52,14 @@
 block discarded – undo
52 52
 	 */
53 53
     public function index() {
54 54
     	$order = json_decode($this->util->getAppOrder());
55
-		if($order !== null && sizeof($order)>0) {
55
+		if ($order !== null && sizeof($order) > 0) {
56 56
 			$firstPage = $order[0];
57 57
 		} else {
58 58
 			$appId = 'files';
59
-			if(getenv('front_controller_active') === 'true') {
60
-				$firstPage = $this->urlGenerator->getAbsoluteURL('/apps/' . $appId . '/');
59
+			if (getenv('front_controller_active') === 'true') {
60
+				$firstPage = $this->urlGenerator->getAbsoluteURL('/apps/'.$appId.'/');
61 61
 			} else {
62
-				$firstPage = $this->urlGenerator->getAbsoluteURL('/index.php/apps/' . $appId . '/');
62
+				$firstPage = $this->urlGenerator->getAbsoluteURL('/index.php/apps/'.$appId.'/');
63 63
 			}
64 64
 		}
65 65
         return new RedirectResponse($firstPage);
Please login to merge, or discard this patch.