Skip to content

Commit

Permalink
Revert "Try making it an array"
Browse files Browse the repository at this point in the history
This reverts commit 59e1037.
  • Loading branch information
Hydriz committed Nov 11, 2012
1 parent 59e1037 commit 5f5276e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SpecialHostStats.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function execute( $par ) {
$commands = array();
foreach ( $wgHostStatsCommands as $cmd ) {
if ( in_array( $cmd, $this->cmdwhitelist ) ) {
array_push( array( $cmd ), $commands );
array_push( $cmd, $commands );
} else {
# Reject those unsafe commands and log it to hoststats
wfDebugLog( "hoststats", "Rejected running command '" .
Expand Down

0 comments on commit 5f5276e

Please sign in to comment.