Open Journal Systems
3.3.0
fixGalleyImages.php
1
<?php
2
18
define(
'RUNNING_UPGRADE'
, 1);
19
require(dirname(__FILE__) .
'/bootstrap.inc.php'
);
20
21
import
(
'classes.install.Upgrade'
);
22
23
class
FixGalleyImagesTool
extends
CommandLineTool
{
28
function
__construct
(
$argv
= array()) {
29
parent::__construct(
$argv
);
30
}
31
35
function
execute
() {
36
$installer =
new
Upgrade(array());
37
$installer->repairImageAssociations();
38
}
39
}
40
41
$tool
=
new
FixGalleyImagesTool
(isset($argv) ? $argv : array());
42
$tool
->execute();
43
44
?>
CommandLineTool
Initialization code for command-line scripts.
Definition:
CliTool.inc.php:44
$tool
$tool
Definition:
mergeCoverageReportTool.php:120
FixGalleyImagesTool
Definition:
fixGalleyImages.php:23
FixGalleyImagesTool\execute
execute()
Definition:
fixGalleyImages.php:35
FixGalleyImagesTool\__construct
__construct($argv=array())
Definition:
fixGalleyImages.php:28
CommandLineTool\$argv
$argv
Definition:
CliTool.inc.php:53
tools
fixGalleyImages.php
Generated on Fri Aug 28 2020 14:51:54 for Open Journal Systems by
1.8.17