This commit is contained in:
Ralf Becker 2003-09-11 18:13:49 +00:00
parent caedcb369a
commit 90804b3885

View File

@ -803,10 +803,10 @@
} }
} }
function get_hooks_table_name() function get_hooks_table_name()
{ {
if($this->alessthanb($setup_info['phpgwapi']['currentver'],'0.9.8pre5') && ($setup_info['phpgwapi']['currentver'] != '')) if($this->alessthanb($GLOBALS['setup_info']['phpgwapi']['currentver'],'0.9.8pre5') &&
$GLOBALS['setup_info']['phpgwapi']['currentver'] != '')
{ {
/* No phpgw_hooks table yet. */ /* No phpgw_hooks table yet. */
return False; return False;