Fix lint errors [MAILPOET-966]

This commit is contained in:
stoletniy
2017-06-29 19:20:25 +03:00
committed by pavel-mailpoet
parent 605df7dff1
commit 5ca577a718

View File

@@ -238,7 +238,7 @@ class Initializer {
function handleFailedInitialization($message) { function handleFailedInitialization($message) {
// Check if we are able to add pages at this point // Check if we are able to add pages at this point
if (function_exists('wp_get_current_user')) { if(function_exists('wp_get_current_user')) {
Menu::addErrorPage(); Menu::addErrorPage();
} }
return WPNotice::displayError($message); return WPNotice::displayError($message);