You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/03/17 17:07:35 UTC

airavata-php-gateway git commit: removing admin alert

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 2b989c018 -> 3d30c8979


removing admin alert


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/3d30c897
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/3d30c897
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/3d30c897

Branch: refs/heads/develop
Commit: 3d30c8979793f8180b9de40296b56aca19a305f8
Parents: 2b989c0
Author: scnakandala <su...@gmail.com>
Authored: Thu Mar 17 12:07:32 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Thu Mar 17 12:07:32 2016 -0400

----------------------------------------------------------------------
 app/filters.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/3d30c897/app/filters.php
----------------------------------------------------------------------
diff --git a/app/filters.php b/app/filters.php
index 638be33..fd6db98 100755
--- a/app/filters.php
+++ b/app/filters.php
@@ -121,7 +121,7 @@ Route::filter('verifyauthorizeduser', function () {
 Route::filter('verifyadmin', function () {
     if (CommonUtilities::verify_login()) {
         if (!Session::has("admin") && !Session::has("admin-read-only")) {
-            return Redirect::to("home")->with("admin-alert", true);
+            return Redirect::to("home");
         }
     } else
         return Redirect::to("home")->with("login-alert", true);
@@ -130,7 +130,7 @@ Route::filter('verifyadmin', function () {
 Route::filter('verifyeditadmin', function () {
     if (CommonUtilities::verify_login()) {
         if (!Session::has("admin")) {
-            return Redirect::to("home")->with("admin-alert", true);
+            return Redirect::to("home");
         }
     } else
         return Redirect::to("home")->with("login-alert", true);