forked from extern/egroupware
also check api version for hooks table in deregister_hooks()
This commit is contained in:
parent
4b878ddca9
commit
8b54414c64
@ -556,6 +556,12 @@
|
||||
*/
|
||||
function deregister_hooks($appname)
|
||||
{
|
||||
if ($this->alessthanb($setup_info['phpgwapi']['currentver'],'0.9.8pre5'))
|
||||
{
|
||||
/* No phpgw_hooks table yet. */
|
||||
return False;
|
||||
}
|
||||
|
||||
if(!$appname)
|
||||
{
|
||||
return False;
|
||||
|
Loading…
Reference in New Issue
Block a user