Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for Metafox/admin/inc-db/maintenance.inc.php between version 1.14 and 1.15

version 1.14, 2013/09/03 15:34:46 version 1.15, 2013/10/17 16:57:24
Line 1264  function ezin_admin_maintenance_main($re
Line 1264  function ezin_admin_maintenance_main($re
                                                 WHERE a_key = "http_host_language"'                                                  WHERE a_key = "http_host_language"'
         );          );
   
           // Enabled Platon Newsletter Source
           $tests[] = array(
                   'type' => 'update',
                   'description' => 'Enabled Platon Newsletter Source',
                   'test' => 'select a_key from ezin_config_info where a_key = "platon_newsletter_enabled"',
                   'method' => 'one',
                   'correct_answer' => 'platon_newsletter_enabled',
                   'repair' => 'INSERT INTO ezin_config_info (a_key) VALUES ("platon_newsletter_enabled")'
           );
   
           $tests[] = array(
                   'type' => 'repair',
                   'description' => 'Enabled Platon Newsletter Source - ezin_config_info',
                   'repair' => 'UPDATE ezin_config_info SET
                                                   ord = 195,
                                                   name = "Platon Newsletter Source",
                                                   description =
                                                   "Access Platon Newsletter source extension"
                                                   WHERE a_key = "platon_newsletter_enabled"'
           );
   
           // Password for Platon Newsletter Source
           $tests[] = array(
                   'type' => 'update',
                   'description' => 'Password for Platon Newsletter Source',
                   'test' => 'select a_key from ezin_config_info where a_key = "platon_newsletter_password"',
                   'method' => 'one',
                   'correct_answer' => 'platon_newsletter_password',
                   'repair' => 'INSERT INTO ezin_config_info (a_key) VALUES ("platon_newsletter_password")'
           );
   
           $tests[] = array(
                   'type' => 'repair',
                   'description' => 'Password for Platon Newsletter - ezin_config_info',
                   'repair' => 'UPDATE ezin_config_info SET
                                                   ord = 196,
                                                   name = "Password for Platon Newsletter",
                                                   description =
                                                   "Password for Platon Newsletter source extension"
                                                   WHERE a_key = "platon_newsletter_password"'
           );
   
         // ---- CONFIG - DATA ----          // ---- CONFIG - DATA ----
         $tests[] = array(          $tests[] = array(
                 'type' => 'comment',                  'type' => 'comment',
Line 1460  function ezin_admin_maintenance_main($re
Line 1502  function ezin_admin_maintenance_main($re
                 'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("http_host_language", "")'                  'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("http_host_language", "")'
         );          );
   
           // Platon Newsletter Source
           $tests[] = array(
                   'type' => 'update',
                   'description' => 'Access Platon Newsletter Source - default value',
                   'test' => 'select a_key from ezin_config where a_key = "platon_newsletter_enabled"',
                   'method' => 'one',
                   'correct_answer' => 'platon_newsletter_enabled',
                   'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("platon_newsletter_enabled", "0")'
           );
   
           // Password for Platon Newsletter Source
           $tests[] = array(
                   'type' => 'update',
                   'description' => 'Password for Platon Newsletter - default value',
                   'test' => 'select a_key from ezin_config where a_key = "platon_newsletter_password"',
                   'method' => 'one',
                   'correct_answer' => 'platon_newsletter_password',
                   'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("platon_newsletter_password", "")'
           );
   
   
         // ====[ Koniec definovania jednotlivych update ]===============================          // ====[ Koniec definovania jednotlivych update ]===============================
   
         if (!isset($_POST['action'])) {          if (!isset($_POST['action'])) {

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top