Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 74086b2

Browse files
committed
remove Core-1.2-type hook commands that are no longer available.
1 parent cada8bb commit 74086b2

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/EZComments/Installer.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -150,18 +150,6 @@ public function upgrade($oldversion)
150150
*/
151151
public function uninstall()
152152
{
153-
if (!ModUtil::unregisterHook('item', 'display', 'GUI', 'EZComments', 'user', 'view')) {
154-
return LogUtil::registerError($this->__('Error deleting hook.'));
155-
}
156-
157-
if (!ModUtil::unregisterHook('item', 'delete', 'API', 'EZComments', 'admin', 'deletebyitem')) {
158-
return LogUtil::registerError($this->__('Error deleting hook.'));
159-
}
160-
161-
if (!ModUtil::unregisterHook('module', 'remove', 'API', 'EZComments', 'admin', 'deletemodule')) {
162-
return LogUtil::registerError($this->__('Error deleting hook.'));
163-
}
164-
165153
// drop main table
166154
if (!DBUtil::dropTable('EZComments')) {
167155
return false;

0 commit comments

Comments
 (0)