diff --git a/mlw_quizmaster2.php b/mlw_quizmaster2.php index ba78c32ad..2a10b59bb 100644 --- a/mlw_quizmaster2.php +++ b/mlw_quizmaster2.php @@ -191,7 +191,7 @@ private function load_dependencies() { include_once 'php/classes/class-qsm-audit.php'; $this->audit_manager = new QSM_Audit(); - if ( is_admin() || $this->qsm_is_admin() ) { + if ( is_admin() ) { include_once 'php/admin/functions.php'; include_once 'php/admin/stats-page.php'; include_once 'php/admin/quizzes-page.php';