Skip to content

Commit

Permalink
Update XML & cli_install.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmr committed Feb 25, 2019
1 parent ce15448 commit 00b8289
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
4 changes: 4 additions & 0 deletions timelineticket.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
<author>Xavier CAILLAUD</author>
</authors>
<versions>
<version>
<num>9.4+1.0</num>
<compatibility>9.4</compatibility>
</version>
<version>
<num>9.3+1.1</num>
<compatibility>9.3</compatibility>
Expand Down
14 changes: 2 additions & 12 deletions tools/cli_install.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*/

if (in_array('--help', $_SERVER['argv'])) {
die("usage: ".$_SERVER['argv'][0]." [ --optimize ]\n");
die("usage: ".$_SERVER['argv'][0]."\n");
}

chdir(dirname($_SERVER["SCRIPT_FILENAME"]));
Expand Down Expand Up @@ -152,14 +152,4 @@ function displayWarning($msg, $red=false) {

$plugin->load("timelineticket");
$plugin->activate($plugin->fields['id']);
$plugin->load("timelineticket");



if (in_array('--optimize', $_SERVER['argv'])) {

$migration->displayTitle("Optimizing tables");
DBmysql::optimize_tables($migration);

$migration->displayWarning("Optimize done.");
}
$plugin->load("timelineticket");

0 comments on commit 00b8289

Please sign in to comment.