diff options
author | Andrew Dolgov <[email protected]> | 2021-02-12 08:00:25 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-12 08:00:25 +0300 |
commit | eac7ad5d343493c7a757e85f9d9cd6229a2b4fca (patch) | |
tree | 2c076b7d895c2e4fbd9f3a30af69675e568d9813 /classes/dlg.php | |
parent | 4182018cb78c1b5f11058e61fef141db4f510003 (diff) |
remove explainError server-side dlg
Diffstat (limited to 'classes/dlg.php')
-rw-r--r-- | classes/dlg.php | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/classes/dlg.php b/classes/dlg.php index 93c1c4c51..f62a42b4d 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -35,37 +35,6 @@ class Dlg extends Handler_Protected { //return; } - function explainError() { - print "<div class=\"errorExplained\">"; - - if ($this->param == 1) { - print __("Update daemon is enabled in configuration, but daemon process is not running, which prevents all feeds from updating. Please start the daemon process or contact instance owner."); - - $stamp = (int) file_get_contents(LOCK_DIRECTORY . "/update_daemon.stamp"); - - print "<p>" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp); - - } - - if ($this->param == 3) { - print __("Update daemon is taking too long to perform a feed update. This could indicate a problem like crash or a hang. Please check the daemon process or contact instance owner."); - - $stamp = (int) file_get_contents(LOCK_DIRECTORY . "/update_daemon.stamp"); - - print "<p>" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp); - - } - - print "</div>"; - - print "<footer class='text-center'>"; - print "<button onclick=\"return CommonDialogs.closeInfoBox()\">". - __('Close this window')."</button>"; - print "</footer>"; - - //return; - } - function printTagCloud() { print "<div class='panel text-center'>"; |