User tables are now moved to ext-user
[mailer.git] / inc / mysql-manager.php
index 24265384c80e46fe530ecaeddd6a1171f3beeb86..603f367579698c10d7bda073c49a3a78cd6581fb 100644 (file)
@@ -1535,6 +1535,12 @@ function ADD_OPTION_LINES ($table, $id, $name, $default="", $special="", $where=
 }
 // Activate exchange
 function activateExchange () {
+       // Is the extension 'user' there?
+       if (!EXT_IS_ACTIVE("user")) {
+               // Silently abort here
+               return false;
+       } // END - if
+
        // Check total amount of users
        $totalUsers = GET_TOTAL_DATA("CONFIRMED", "user_data", "userid", "status", true, " AND max_mails > 0");