Commit 10d0090a authored by Jonny Bradley's avatar Jonny Bradley

[KIL] xajax: Remove last vestiges of xjx request params, unused since xajax feature removal

parent 611acf54
......@@ -48,11 +48,6 @@ function smarty_function_query($params, $smarty)
} else {
$request = array();
}
// Remove Xajax special arguments
foreach ( array('xjxargs', 'xjxr', 'xjx', 'xjxfun', 'xjxr') as $k ) {
unset($request[$k]);
}
}
$query = $request;
......
......@@ -891,9 +891,7 @@ class WikiLib extends TikiLib
if ($with_help) {
global $cachelib, $headerlib, $prefs;
if (empty($_REQUEST['xjxfun'])) {
$headerlib->add_jsfile('tiki-jsplugin.php?language='.$prefs['language'], 'dynamic');
}
$headerlib->add_jsfile('tiki-jsplugin.php?language='.$prefs['language'], 'dynamic');
$cachetag = 'plugindesc' . $this->get_language() . $area_id . '_js=' . $prefs['javascript_enabled'];
if (! $plugins = $cachelib->getSerialized($cachetag) ) {
$list = $parserlib->plugin_get_list();
......
......@@ -120,7 +120,7 @@ function module_webmail_inbox($mod_reference, $module_params)
$webmail_reload = (isset($module_params['reload']) && $module_params['reload'] == 'y');
$webmail_start = isset($_SESSION['webmailinbox'][$mod_reference['moduleId']]['start']) ? $_SESSION['webmailinbox'][$mod_reference['moduleId']]['start'] : 0;
if (isset($_REQUEST['refresh_mail']) || (isset($_REQUEST['xjxfun']) && $_REQUEST['xjxfun'] == 'refreshWebmail')) { // YUK!
if (isset($_REQUEST['refresh_mail'])) {
webmail_refresh();
}
......
......@@ -109,9 +109,5 @@ close();
{/if}
{/capture}
{if isset($smarty.request.xjxfun) && $smarty.request.xjxfun eq 'loadComponent'}
{$mid_data}
{else}
{include file='tiki.tpl'}
{/if}
{/strip}
......@@ -67,12 +67,9 @@ if ( empty($inputConfiguration) ) {
array_unshift($inputConfiguration,array(
'staticKeyFilters' => array(
'cookietab' => 'int',
'xjxfun' => 'striptags',
'xjxr' => 'int',
'callback' => 'word',
),
'staticKeyFiltersForArrays' => array(
'xjxargs' => 'xss',
)
));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment