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:
683fdf7
)
use WP_CLI::warning() instead of passing false to WP_CLI::error()
author
scribu
<mail@scribu.net>
Sat, 16 Feb 2013 23:59:09 +0000
(
01:59
+0200)
committer
scribu
<mail@scribu.net>
Sun, 17 Feb 2013 02:10:14 +0000
(
04:10
+0200)
php/WP_CLI/CommandWithDBObject.php
patch
|
blob
|
history
diff --git
a/php/WP_CLI/CommandWithDBObject.php
b/php/WP_CLI/CommandWithDBObject.php
index
8b25266
..
773f81d
100644
(file)
--- a/
php/WP_CLI/CommandWithDBObject.php
+++ b/
php/WP_CLI/CommandWithDBObject.php
@@
-61,7
+61,7
@@
abstract class CommandWithDBObject extends \WP_CLI_Command {
\WP_CLI::success( $msg );
$status = 0;
} else {
- \WP_CLI::
error( $msg, false
);
+ \WP_CLI::
warning( $msg
);
$status = 1;
}