issue 46 apply validator to syndication module

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8554 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-06-30 06:33:24 +00:00
parent 60d7f6fb84
commit 4d26d3b980
4 changed files with 17 additions and 3 deletions

View file

@ -37,6 +37,11 @@
}
$this->setMessage('success_applied');
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispSyndicationAdminConfig');
header('location:'.$returnUrl);
return;
}
}
function procSyndicationAdminCheckSitePingResult(){