aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-09-23 01:04:41 +0000
committerrvelices <rv-github@modusoptimus.com>2008-09-23 01:04:41 +0000
commitdda9f5db6678ca617aee36c0281d39325db5ef8c (patch)
treeeeb6625a68bbfbd60bb1216cf18ce71f966d795a /include/ws_functions.inc.php
parentcde8cefaf2f13b8b56f3ac264758f62335ef27f3 (diff)
- removed #debug css rule (why would we need that in default-layout?)
- order by rank is not available in calendar/chronology mode - small non-functional change in functions_search.inc.php (handy for plugin) - unused variables/smaller code/unused params in func call git-svn-id: http://piwigo.org/svn/trunk@2572 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/ws_functions.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index c3372396f..09f6440d4 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -29,7 +29,7 @@
*/
function ws_isInvokeAllowed($res, $methodName, $params)
{
- global $conf, $calling_partner_id;
+ global $conf;
if ( strpos($methodName,'reflection.')===0 )
{ // OK for reflection
@@ -415,7 +415,7 @@ SELECT id, name, permalink, uppercats, global_rank,
{
$row[$key] = (int)$row[$key];
}
-
+
array_push($cats, $row);
}
usort($cats, 'global_rank_compare');