Changeset 6485

Show
Ignore:
Timestamp:
08/27/08 08:18:31 (3 months ago)
Author:
p_lindheimer
Message:

closes #3110 don't present languages as dest to other language instances, and same for queueprio

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/languages/functions.inc.php

    r6347 r6485  
    22 
    33function languages_destinations() { 
     4        global $module_page; 
     5 
     6        // it makes no sense to point at another queueprio (and it can be an infinite loop) 
     7        if ($module_page == 'languages') { 
     8                return false; 
     9        } 
     10 
    411        // return an associative array with destination and description 
    512        foreach (languages_list() as $row) { 
  • modules/branches/2.5/queueprio/functions.inc.php

    r5874 r6485  
    22 
    33function queueprio_destinations() { 
     4        global $module_page; 
     5 
     6        // it makes no sense to point at another queueprio (and it can be an infinite loop) 
     7        if ($module_page == 'queueprio') { 
     8                return false; 
     9        } 
     10 
    411        // return an associative array with destination and description 
    512        foreach (queueprio_list() as $row) { 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads