Horde_Auth::authenticationFailureRedirect -> Horde_Auth::authenticateFailure
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 6 Aug 2009 03:30:29 +0000 (21:30 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 6 Aug 2009 03:30:29 +0000 (21:30 -0600)
26 files changed:
ansel/faces/search/tabs.php
ansel/lib/base.php
babel/lib/base.php
chora/lib/base.php
crumb/lib/base.php
fima/lib/base.php
folks/edit/friends/approve.php
folks/edit/friends/reject.php
folks/edit/tabs.php
folks/friends.php
folks/lib/base.php
gollem/lib/base.php
imp/lib/base.php
ingo/lib/base.php
jeta/lib/base.php
kastalia/download.php
kastalia/lib/base.php
kronolith/lib/base.php
nag/lib/base.php
news/add.php
news/admin/tabs.php
news/lib/base.php
news/reads.php
skoli/lib/base.php
timeobjects/lib/base.php
turba/lib/base.php

index 4cee56f..7b6f52e 100644 (file)
@@ -14,7 +14,7 @@ require_once dirname(__FILE__) . '/../../lib/base.php';
 $faces = Ansel_Faces::factory();
 /* Face search is allowed only to authenticated users */
 if (!Horde_Auth::isauthenticated()) {
-    Horde_Auth::authenticationFailureRedirect();
+    Horde_Auth::authenticateFailure();
 }
 
 /* Show tabs */
index 3f0cd10..53a07c7 100644 (file)
@@ -33,7 +33,7 @@ $registry = Horde_Registry::singleton($s_ctrl);
 try {
     $registry->pushApp('ansel', array('check_perms' => (Horde_Util::nonInputVar('ansel_authentication') != 'none'), 'logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('ansel', $e);
+    Horde_Auth::authenticateFailure('ansel', $e);
 }
 $conf = $GLOBALS['conf'];
 define('ANSEL_TEMPLATES', $registry->get('templates'));
index 8eccc30..f0938a6 100644 (file)
@@ -32,7 +32,7 @@ $registry = Horde_Registry::singleton();
 try {
     $registry->pushApp('babel', array('logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('babel', $e);
+    Horde_Auth::authenticateFailure('babel', $e);
 }
 
 $conf = &$GLOBALS['conf'];
index 38b1564..7b7435c 100644 (file)
@@ -34,7 +34,7 @@ $registry = Horde_Registry::singleton();
 try {
     $registry->pushApp('chora', array('logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('chora', $e);
+    Horde_Auth::authenticateFailure('chora', $e);
 }
 $conf = &$GLOBALS['conf'];
 define('CHORA_TEMPLATES', $registry->get('templates'));
index e0585ea..c763eba 100644 (file)
@@ -24,7 +24,7 @@ $registry = Horde_Registry::singleton();
 try {
     $registry->pushApp('crumb', array('logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('crumb', $e);
+    Horde_Auth::authenticateFailure('crumb', $e);
 }
 $conf = &$GLOBALS['conf'];
 @define('CRUMB_TEMPLATES', $registry->get('templates'));
index a44a142..0fda307 100644 (file)
@@ -30,7 +30,7 @@ if ($session_control == 'none') {
 try {
     $registry->pushApp('fima', array('logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('fima', $e);
+    Horde_Auth::authenticateFailure('fima', $e);
 }
 $conf = &$GLOBALS['conf'];
 @define('FIMA_TEMPLATES', $registry->get('templates'));
index 6d846e7..0b15d6e 100644 (file)
@@ -15,7 +15,7 @@ require_once dirname(__FILE__) . '/../../lib/base.php';
 require_once FOLKS_BASE . '/lib/Friends.php';
 
 if (!Horde_Auth::isAuthenticated()) {
-    Horde_Auth::authenticationFailureRedirect('folks');
+    Horde_Auth::authenticateFailure('folks');
 }
 
 $user = Horde_Util::getGet('user');
index 70c8112..9877584 100644 (file)
@@ -15,7 +15,7 @@ require_once dirname(__FILE__) . '/../../lib/base.php';
 require_once FOLKS_BASE . '/lib/Friends.php';
 
 if (!Horde_Auth::isAuthenticated()) {
-    Horde_Auth::authenticationFailureRedirect('folks');
+    Horde_Auth::authenticateFailure('folks');
 }
 
 $user = Horde_Util::getGet('user');
index 9b0a10c..b21af41 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 if (!Horde_Auth::isAuthenticated()) {
-    Horde_Auth::authenticationFailureRedirect('folks');
+    Horde_Auth::authenticateFailure('folks');
 }
 
 $vars = Horde_Variables::getDefaultVariables();
index 862c3c4..a5249ec 100644 (file)
@@ -15,7 +15,7 @@ require_once dirname(__FILE__) . '/lib/base.php';
 require_once FOLKS_BASE . '/lib/Forms/Activity.php';
 
 if (!Horde_Auth::isAuthenticated()) {
-    Horde_Auth::authenticationFailureRedirect('folks');
+    Horde_Auth::authenticateFailure('folks');
 }
 
 $title = _("Friends");
index 31ab558..a531353 100644 (file)
@@ -22,7 +22,7 @@ $registry = Horde_Registry::singleton();
 try {
     $registry->pushApp('folks', array('check_perms' => (Horde_Util::nonInputVar('folks_authentication') != 'none'), 'logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('folks', $e);
+    Horde_Auth::authenticateFailure('folks', $e);
 }
 $conf = &$GLOBALS['conf'];
 define('FOLKS_TEMPLATES', $registry->get('templates'));
index aa975bf..b5a4e68 100644 (file)
@@ -34,7 +34,7 @@ if (Horde_Util::nonInputVar('gollem_session_control') == 'readonly') {
 try {
     $registry->pushApp('gollem', array('check_perms' => (Horde_Util::nonInputVar('gollem_authentication') != 'none'), 'logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('gollem', $e);
+    Horde_Auth::authenticateFailure('gollem', $e);
 }
 $conf = &$GLOBALS['conf'];
 define('GOLLEM_TEMPLATES', $registry->get('templates'));
index 19cea7b..cc963e5 100644 (file)
@@ -111,7 +111,7 @@ try {
         }
     }
 
-    Horde_Auth::authenticationFailureRedirect('imp', $e);
+    Horde_Auth::authenticateFailure('imp', $e);
 }
 
 // All other initialization occurs in IMP::initialize().
index c29eaf3..5a29e39 100644 (file)
@@ -31,7 +31,7 @@ $registry = Horde_Registry::singleton();
 try {
     $registry->pushApp('ingo', array('check_perms' => (Horde_Util::nonInputVar('ingo_authentication') != 'none'), 'logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('ingo', $e);
+    Horde_Auth::authenticateFailure('ingo', $e);
 }
 $conf = &$GLOBALS['conf'];
 
index bafb2ad..7cb3f77 100644 (file)
@@ -22,7 +22,7 @@ $registry = Horde_Registry::singleton();
 try {
     $registry->pushApp('jeta', array('logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('jeta', $e);
+    Horde_Auth::authenticateFailure('jeta', $e);
 }
 
 $conf = &$GLOBALS['conf'];
index 85cef16..16a657f 100755 (executable)
@@ -34,7 +34,7 @@ $registry = Horde_Registry::singleton();
 try {
     $registry->pushApp('kastalia', array('logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('kastalia', $e);
+    Horde_Auth::authenticateFailure('kastalia', $e);
 }
 //################### </MANUELLER ANMELDE CHECK (WENN base.php NICHT INCLUDIERT WIRD)> ###################
 
index 1317f19..f2ed453 100755 (executable)
@@ -24,7 +24,7 @@ $registry = Horde_Registry::singleton();
 try {
     $registry->pushApp('kastalia', array('logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('kastalia', $e);
+    Horde_Auth::authenticateFailure('kastalia', $e);
 }
 $conf = &$GLOBALS['conf'];
 @define('KASTALIA_TEMPLATES', $registry->get('templates'));
index 5e40d59..68ae6f5 100644 (file)
@@ -41,7 +41,7 @@ $registry = Horde_Registry::singleton($s_ctrl);
 try {
     $registry->pushApp('kronolith', array('check_perms' => (Horde_Util::nonInputVar('kronolith_authentication') != 'none'), 'logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('kronolith', $e);
+    Horde_Auth::authenticateFailure('kronolith', $e);
 }
 $conf = &$GLOBALS['conf'];
 define('KRONOLITH_TEMPLATES', $registry->get('templates'));
index 78317e8..69c21f9 100644 (file)
@@ -28,7 +28,7 @@ $registry = Horde_Registry::singleton($s_ctrl);
 try {
     $registry->pushApp('nag', array('check_perms' => (Horde_Util::nonInputVar('nag_authentication') != 'none'), 'logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('nag', $e);
+    Horde_Auth::authenticateFailure('nag', $e);
 }
 $conf = &$GLOBALS['conf'];
 @define('NAG_TEMPLATES', $registry->get('templates'));
index 9a205df..8c5fc35 100644 (file)
@@ -90,7 +90,7 @@ function _max_upload_size()
 // Is logged it?
 if (!Horde_Auth::isAuthenticated()) {
     $notification->push(_("Only authenticated users can post news."), 'horde.warning');
-    Horde_Auth::authenticationFailureRedirect('news');
+    Horde_Auth::authenticateFailure('news');
 }
 
 // Default vars
index 8002fe1..0efc853 100644 (file)
@@ -13,7 +13,7 @@
 /* Only admin should be using this. */
 if (!Horde_Auth::isAdmin('news:admin')) {
     $notification->push(_("You are not authorised for this action."), 'horde.warning');
-    Horde_Auth::authenticationFailureRedirect('news');
+    Horde_Auth::authenticateFailure('news');
 }
 
 $vars = Horde_Variables::getDefaultVariables();
index 7dd89b7..7b04401 100644 (file)
@@ -27,7 +27,7 @@ $registry = Horde_Registry::singleton();
 try {
     $registry->pushApp('news', array('check_perms' => (Horde_Util::nonInputVar('news_authentication') != 'none'), 'logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('news', $e);
+    Horde_Auth::authenticateFailure('news', $e);
 }
 $conf = &$GLOBALS['conf'];
 define('NEWS_TEMPLATES', $registry->get('templates'));
index e09bc8e..8a1c8b1 100644 (file)
@@ -14,7 +14,7 @@
 require_once dirname(__FILE__) . '/lib/base.php';
 
 if (!Horde_Auth::isAuthenticated()) {
-    Horde_Auth::authenticationFailureRedirect('news');
+    Horde_Auth::authenticateFailure('news');
 }
 
 $id = Horde_Util::getFormData('id', 0);
index 7e9de93..751938f 100644 (file)
@@ -22,7 +22,7 @@ $registry = Horde_Registry::singleton();
 try {
     $registry->pushApp('skoli', array('check_perms' => (Horde_Util::nonInputVar('skoli_authentication') != 'none'), 'logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('skoli', $e);
+    Horde_Auth::authenticateFailure('skoli', $e);
 }
 $conf = &$GLOBALS['conf'];
 @define('SKOLI_TEMPLATES', $registry->get('templates'));
index 4ecc30d..ed0b609 100644 (file)
@@ -33,7 +33,7 @@ if ($session_control == 'none') {
 try {
     $registry->pushApp('timeobjects', array('logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('timeobjects', $e);
+    Horde_Auth::authenticateFailure('timeobjects', $e);
 }
 
 if (!defined('TIMEOBJECTS_BASE')) {
index 4790916..3d55358 100644 (file)
@@ -24,7 +24,7 @@ $registry = Horde_Registry::singleton();
 try {
     $registry->pushApp('turba', array('check_perms' => (Horde_Util::nonInputVar('turba_authentication') != 'none'), 'logintasks' => true));
 } catch (Horde_Exception $e) {
-    Horde_Auth::authenticationFailureRedirect('turba', $e);
+    Horde_Auth::authenticateFailure('turba', $e);
 }
 $conf = $GLOBALS['conf'];
 define('TURBA_TEMPLATES', $registry->get('templates'));