dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add WAN Cache to SiteStats::jobs"
[lhc/web/wiklou.git]
/
includes
/
installer
/
CliInstaller.php
diff --git
a/includes/installer/CliInstaller.php
b/includes/installer/CliInstaller.php
index
7ecb71c
..
6ac78c4
100644
(file)
--- a/
includes/installer/CliInstaller.php
+++ b/
includes/installer/CliInstaller.php
@@
-47,8
+47,6
@@
class CliInstaller extends Installer {
];
/**
];
/**
- * Constructor.
- *
* @param string $siteName
* @param string $admin
* @param array $option
* @param string $siteName
* @param string $admin
* @param array $option
@@
-180,7
+178,7
@@
class CliInstaller extends Installer {
$text = preg_replace( '/<a href="(.*?)".*?>(.*?)<\/a>/', '$2 <$1>', $text );
$text = preg_replace( '/<a href="(.*?)".*?>(.*?)<\/a>/', '$2 <$1>', $text );
- return
html_entity_decode( strip_tags( $text ), ENT_QUOTES
);
+ return
Sanitizer::stripAllTags( $text
);
}
/**
}
/**
@@
-199,7
+197,7
@@
class CliInstaller extends Installer {
}
}
}
}
- if ( !$status->isO
k
() ) {
+ if ( !$status->isO
K
() ) {
echo "\n";
exit( 1 );
}
echo "\n";
exit( 1 );
}