cleaning up unused imports
parent
7414c6e99e
commit
34a22a7914
|
@ -338,12 +338,9 @@ function psm_date($time) {
|
||||||
* Check if an update is available for PHP Server Monitor.
|
* Check if an update is available for PHP Server Monitor.
|
||||||
*
|
*
|
||||||
* Will only check for new version if user turned updates on in config.
|
* Will only check for new version if user turned updates on in config.
|
||||||
* @global object $db
|
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function psm_update_available() {
|
function psm_update_available() {
|
||||||
global $db;
|
|
||||||
|
|
||||||
if(!psm_get_conf('show_update')) {
|
if(!psm_get_conf('show_update')) {
|
||||||
// user does not want updates, fair enough.
|
// user does not want updates, fair enough.
|
||||||
return false;
|
return false;
|
||||||
|
@ -542,7 +539,9 @@ function psm_is_cli() {
|
||||||
*/
|
*/
|
||||||
function pre($arr = null) {
|
function pre($arr = null) {
|
||||||
echo "<pre>";
|
echo "<pre>";
|
||||||
if ($arr === null) debug_print_backtrace();
|
if ($arr === null) {
|
||||||
|
debug_print_backtrace();
|
||||||
|
}
|
||||||
print_r($arr);
|
print_r($arr);
|
||||||
echo "</pre>";
|
echo "</pre>";
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,8 +27,6 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
namespace psm\Module;
|
namespace psm\Module;
|
||||||
use psm\Service\Database;
|
|
||||||
use psm\Service\Template;
|
|
||||||
|
|
||||||
interface ModuleInterface {
|
interface ModuleInterface {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue