Browse Source

Removing useless line - thanks for pointing it out

Yannick Warnier 13 years ago
parent
commit
49174af7c0
1 changed files with 0 additions and 1 deletions
  1. 0 1
      main/inc/lib/main_api.lib.php

+ 0 - 1
main/inc/lib/main_api.lib.php

@@ -3996,7 +3996,6 @@ function api_get_access_urls($from = 0, $to = 1000000, $order = 'url', $directio
 function api_get_access_url($id) {
     global $_configuration;
     $id = Database::escape_string(intval($id));
-    $result = array(); // Is this line necessary?
     // Calling the Database:: library dont work this is handmade.
     //$table_access_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL);
     $table = 'access_url';