[Phpfreechat-svn] SF.net SVN: phpfreechat: [757] trunk/src/commands/rehash.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-09-12 14:51:31
|
Revision: 757 http://svn.sourceforge.net/phpfreechat/?rev=757&view=rev Author: kerphi Date: 2006-09-12 07:51:27 -0700 (Tue, 12 Sep 2006) Log Message: ----------- Bug fix: the rehash command returned message was reversed. Modified Paths: -------------- trunk/src/commands/rehash.class.php Modified: trunk/src/commands/rehash.class.php =================================================================== --- trunk/src/commands/rehash.class.php 2006-09-12 14:23:29 UTC (rev 756) +++ trunk/src/commands/rehash.class.php 2006-09-12 14:51:27 UTC (rev 757) @@ -26,9 +26,9 @@ $destroyed = $c->destroyCache(); if ($destroyed) + $xml_reponse->addScript("pfc.handleResponse('".$this->name."', 'ok', '');"); + else $xml_reponse->addScript("pfc.handleResponse('".$this->name."', 'ko', '');"); - else - $xml_reponse->addScript("pfc.handleResponse('".$this->name."', 'ok', '');"); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |