PHP compatibility fix
This commit is contained in:
parent
1955ee9e4f
commit
260a8dbf02
|
@ -47,15 +47,15 @@ checkIfToolIsActive('toolMultiEdit');
|
||||||
|
|
||||||
setlanguage();
|
setlanguage();
|
||||||
|
|
||||||
const ADD = 'add';
|
define('ADD', 'add');
|
||||||
const MOD = 'mod';
|
define('MOD', 'mod');
|
||||||
const DEL = 'del';
|
define('DEL', 'del');
|
||||||
|
|
||||||
const STAGE_START = 'start';
|
define('STAGE_START', 'start');
|
||||||
const STAGE_READ_FINISHED = 'readFinished';
|
define('STAGE_READ_FINISHED', 'readFinished');
|
||||||
const STAGE_ACTIONS_CALCULATED = 'actionsCalculated';
|
define('STAGE_ACTIONS_CALCULATED', 'actionsCalculated');
|
||||||
const STAGE_WRITING = 'writing';
|
define('STAGE_WRITING', 'writing');
|
||||||
const STAGE_FINISHED = 'finished';
|
define('STAGE_FINISHED', 'finished');
|
||||||
|
|
||||||
if (isset($_GET['ajaxStatus'])) {
|
if (isset($_GET['ajaxStatus'])) {
|
||||||
runAjaxActions();
|
runAjaxActions();
|
||||||
|
@ -434,7 +434,7 @@ function dryRun() {
|
||||||
}
|
}
|
||||||
// build meta HTML
|
// build meta HTML
|
||||||
$container = new htmlTable();
|
$container = new htmlTable();
|
||||||
$container->addElement(new htmlOutputText(_('DryRun finished.')), true);
|
$container->addElement(new htmlOutputText(_('Dry run finished.')), true);
|
||||||
$container->addVerticalSpace('20px');
|
$container->addVerticalSpace('20px');
|
||||||
// store LDIF
|
// store LDIF
|
||||||
$filename = 'ldif' . getRandomNumber() . '.ldif';
|
$filename = 'ldif' . getRandomNumber() . '.ldif';
|
||||||
|
|
Loading…
Reference in New Issue