Source of file DisqusController.php
Size: 0,558 Bytes - Last Modified: 2021-12-23T10:36:37+00:00
/var/www/docs.ssmods.com/process/src/code/DisqusController.php
1234567891011121314151617181920212223 | <?php /** * Sync disqus coments via cli (or browser) * * @package silverstripe-disqus-module * @author Pavol Ondráš <admin_silverstripe.sk> * @notice SilverStripe.sk is not affiliated with the company SilverStripe Ltd. * @date April 2011 */ class Disqus_Controller extends Controller { private static $allowed_actions = array('sync_by_ident'); function sync_by_ident() { $returnmessage = (Director::is_cli() || Director::isDev()) ? 1 : 0; return DisqusSync::sync($this->request->param('ID'),$returnmessage); } } // EOF |