[svn r13971] Reverted change

skala
Yannick Warnier 17 years ago
parent bcd2b0e2c8
commit ad0ea27cee
  1. 6
      main/inc/lib/main_api.lib.php

@ -1039,7 +1039,8 @@ class api_failure
*/
function set_failure($failureType)
{
$this->api_failureList[] = $failureType;
global $api_failureList;
$api_failureList[] = $failureType;
return false;
}
/**
@ -1051,7 +1052,8 @@ class api_failure
*/
function get_last_failure()
{
return $this->api_failureList[count($this->api_failureList) - 1];
global $api_failureList;
return $api_failureList[count($api_failureList) - 1];
}
}

Loading…
Cancel
Save