Skip to content

Commit

Permalink
Fixes #248
Browse files Browse the repository at this point in the history
  • Loading branch information
WildcardSearch committed Jul 11, 2019
1 parent b9ba1ab commit abfb947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Upload/inc/plugins/MentionMe/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function mention_uninstall()
$db->delete_query('tasks', "file='mentiome_namecache'");

// undo changes to MyAlerts if installed
if ($db->table_exists('alerts')) {
if (function_exists('myalerts_info')) {
$alertTypeManager = MybbStuff_MyAlerts_AlertTypeManager::getInstance();

if (!$alertTypeManager) {
Expand Down Expand Up @@ -423,7 +423,7 @@ function mentionMeMyAlertsIntegrate()
$lang->load('mention');
}

if (!function_exists("myalerts_info")) {
if (!function_exists('myalerts_info')) {
return;
}

Expand Down

0 comments on commit abfb947

Please sign in to comment.