From 221ba1d3a650e955915230a8406bb4d861799abb Mon Sep 17 00:00:00 2001 From: Michael Cannon Date: Tue, 19 Aug 2014 10:12:43 +0530 Subject: [PATCH] Update auth.php Parse error: syntax error, unexpected 'unset' (T_UNSET) in ./includes/libraries/phpflickr/auth.php on line 17 --- auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth.php b/auth.php index 0cee4dc..e9da2f4 100644 --- a/auth.php +++ b/auth.php @@ -14,7 +14,7 @@ ob_start(); require_once($path_to_phpFlickr_class . "phpFlickr.php"); - @unset($_SESSION['phpFlickr_auth_token']); + unset($_SESSION['phpFlickr_auth_token']); if ( isset($_SESSION['phpFlickr_auth_redirect']) && !empty($_SESSION['phpFlickr_auth_redirect']) ) { $redirect = $_SESSION['phpFlickr_auth_redirect']; @@ -35,4 +35,4 @@ header("Location: " . $redirect); } -?> \ No newline at end of file +?>