mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-28 12:19:57 +03:00
- 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
This commit is contained in:
parent
cde8cefaf2
commit
dda9f5db66
6 changed files with 9 additions and 18 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue