Extension ext-network continued:
[mailer.git] / inc / modules / admin / what-config_network_types.php
index 012a08ce6d19d68b080ee4c733376288a92348f5..a18ae387c745456a99a51515b0c19067eedf0e04 100644 (file)
@@ -68,6 +68,7 @@ if (isGetRequestElementSet('network_id')) {
        `network_type_id`,
        `network_type_handler`,
        `network_type_reload_time_unit`,
+       `network_active`,
        NULL AS `network_data_id`,
        NULL AS `network_max_reload_time`,
        NULL AS `network_min_waiting_time`,
@@ -90,6 +91,13 @@ LIMIT 1',
                        // Load it
                        $content = SQL_FETCHARRAY($result);
 
+                       // Is the network active?
+                       if ($content['network_active'] == 'N') {
+                               // Not active
+                               displayMessage('{--ADMIN_NETWORK_NOT_ACTIVE--}');
+                               return;
+                       } // END - if
+
                        // Check for network type configuration
                        $result_config = SQL_QUERY_ESC('SELECT
        `network_data_id`,