Doublicate translation of status fixed
authorRoland Häder <roland@mxchange.org>
Thu, 27 Nov 2008 23:51:19 +0000 (23:51 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 27 Nov 2008 23:51:19 +0000 (23:51 +0000)
inc/databases.php
inc/libs/surfbar_functions.php

index dbc806f..5cebf96 100644 (file)
@@ -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);
index 321a76a..c183e5e 100644 (file)
@@ -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]);