From: <rob...@us...> - 2012-10-11 19:11:18
|
Revision: 43389 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=43389&view=rev Author: robertplummer Date: 2012-10-11 19:11:08 +0000 (Thu, 11 Oct 2012) Log Message: ----------- [FIX] Remove the needed to send on a textlink by textlink basis Modified Paths: -------------- trunk/lib/wiki-plugins/wikiplugin_textlink.php Modified: trunk/lib/wiki-plugins/wikiplugin_textlink.php =================================================================== --- trunk/lib/wiki-plugins/wikiplugin_textlink.php 2012-10-11 19:09:57 UTC (rev 43388) +++ trunk/lib/wiki-plugins/wikiplugin_textlink.php 2012-10-11 19:11:08 UTC (rev 43389) @@ -35,17 +35,7 @@ if (empty($clipboarddata)) return $data; - if (isset($_REQUEST['sendPhrase'])) { - if (JisonParser_Phraser_Handler::superSanitize($_REQUEST['sendPhrase']) == JisonParser_Phraser_Handler::superSanitize($data)) { - Feed_TextLink::clearAll(); - Feed_TextLink::add($clipboarddata, $page, $data); - $result = Feed_ForwardLink_Send::sendAll(); - echo json_encode(array("status"=>"completed","result"=>$result)); - exit(); - } - } else { - Feed_TextLink::add($clipboarddata, $page, $data); - } + Feed_TextLink::add($clipboarddata, $page, $data); return $data; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |