OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336bcd9
)
make Rewrite_Command::apache_modules() private
author
scribu
<mail@scribu.net>
Sun, 4 Aug 2013 21:47:00 +0000
(
00:47
+0300)
committer
scribu
<mail@scribu.net>
Sun, 4 Aug 2013 21:47:02 +0000
(
00:47
+0300)
other code has no business calling it
php/commands/rewrite.php
patch
|
blob
|
history
diff --git
a/php/commands/rewrite.php
b/php/commands/rewrite.php
index
b1c5a51
..
1e04593
100644
(file)
--- a/
php/commands/rewrite.php
+++ b/
php/commands/rewrite.php
@@
-137,7
+137,7
@@
class Rewrite_Command extends WP_CLI_Command {
* If this isn't done then the .htaccess rewrite rules won't be flushed out
* to disk.
*/
- p
ublic
static function apache_modules() {
+ p
rivate
static function apache_modules() {
$mods = WP_CLI::get_config('apache_modules');
if ( !empty( $mods ) && !function_exists( 'apache_get_modules' ) ) {
global $is_apache;