X-Git-Url: https://git.mxchange.org/?p=ctracker.git;a=blobdiff_plain;f=libs%2Flib_updates.php;fp=libs%2Flib_updates.php;h=21ef93f731b709c0cd163dc4cc58bfdd7b7c835b;hp=fd34fcc6c4159f32a70e8973b25d3a6d3c812867;hb=d32bed6716147f435c0de022377397fe0703ce5e;hpb=068b7a278cb22934896fdf1b42edefd7c2f990f0 diff --git a/libs/lib_updates.php b/libs/lib_updates.php index fd34fcc..21ef93f 100644 --- a/libs/lib_updates.php +++ b/libs/lib_updates.php @@ -25,7 +25,7 @@ // Init all updates function crackerTrackerInitUpdates () { // Add all - $GLOBALS['ctracker_updates'] = array( + $GLOBALS['ctracker_updates'] = [ // Ticket system: 0 => array( 'CREATE TABLE IF NOT EXISTS `ctracker_ticket` ( @@ -98,7 +98,7 @@ FOREIGN KEY ( `ctracker_data_id` ) REFERENCES `' . $GLOBALS['ctracker_dbname'] . FROM `ctracker_data` GROUP BY `request_method`' ), - ); + ]; } // Runs the given updates at number X