From 8b71e1e79133cd3148fd66ed319920cf58d4360b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 27 Nov 2008 23:51:19 +0000 Subject: [PATCH] Doublicate translation of status fixed --- inc/databases.php | 2 +- inc/libs/surfbar_functions.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index dbc806f858..5cebf9659d 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -114,7 +114,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "566"); +define('CURR_SVN_REVISION', "567"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/libs/surfbar_functions.php b/inc/libs/surfbar_functions.php index 321a76a64e..c183e5e0aa 100644 --- a/inc/libs/surfbar_functions.php +++ b/inc/libs/surfbar_functions.php @@ -574,7 +574,6 @@ function SURFBAR_REGISTER_URL ($url, $uid, $status="PENDING", $addMode="reg", $l } // END - if // Translate status and limit - $content['status'] = SURFBAR_TRANSLATE_STATUS($content['status']); $content['limit'] = SURFBAR_TRANSLATE_LIMIT($content['limit']); // If in reg-mode we notify admin @@ -1206,7 +1205,6 @@ function SURFBAR_CHANGE_STATUS ($urlId, $prevStatus, $newStatus, $data=array()) $data[$urlId]['frametester'] = FRAMETESTER($data[$urlId]['url']); $data[$urlId]['reward'] = TRANSLATE_COMMA($_CONFIG['surfbar_static_reward']); $data[$urlId]['costs'] = TRANSLATE_COMMA($_CONFIG['surfbar_static_costs']); - $data[$urlId]['status'] = SURFBAR_TRANSLATE_STATUS($newStatus); // Send admin notification SURFBAR_NOTIFY_ADMIN("url_{$newStatus}", $data[$urlId]); -- 2.39.5