Remove a duplicate function [MAILPOET-743]

This commit is contained in:
Alexey Stoletniy
2017-01-27 16:28:58 +03:00
parent 1a42ae4cca
commit b9c45b46ba

View File

@@ -541,8 +541,4 @@ class Menu {
$notice->displayWPNotice();
}
}
static function isOnMailPoetAdminPage() {
return (!empty($_REQUEST['page']) && stripos($_REQUEST['page'], 'mailpoet-') !== false);
}
}