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/master Commit: 3d30c8979793f8180b9de40296b56aca19a305f8 Parents: 2b989c0 Author: scnakandala <[email protected]> Authored: Thu Mar 17 12:07:32 2016 -0400 Committer: scnakandala <[email protected]> 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);
