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

View File

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