Changeset 4580

Show
Ignore:
Timestamp:
07/27/07 23:19:15 (1 year ago)
Author:
p_lindheimer
Message:

Merged revisions 4579 via svnmerge from
https://amportal.svn.sourceforge.net/svnroot/amportal/modules/branches/2.3

........

r4579 | p_lindheimer | 2007-07-27 23:16:16 -0700 (Fri, 27 Jul 2007) | 6 lines


#1920: changed miscapps so editting always changes the default code and not
the custom code in that may be defined in featurcodes. This means if featurecodes
is using the default and you change it here, the change will take place. If it
is using a custom code and you change it here, it will continue to use that custom
code but the default in the featurecodes table will now be this new code.

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.2

    • Property svnmerge-integrated changed from /modules/branches/2.1:1-2166,2289,2414,2419,2424,2430,2449,2458,2462,2476 /modules/branches/2.3:1-3256,4102,4227,4232,4251,4312,4390,4570,4574 to /modules/branches/2.1:1-2166,2289,2414,2419,2424,2430,2449,2458,2462,2476 /modules/branches/2.3:1-3256,4102,4227,4232,4251,4312,4390,4570,4574,4579
  • modules/branches/2.2/miscapps/functions.inc.php

    r3363 r4580  
    7272        // we want to get the ext from featurecodes 
    7373        $fc = new featurecode('miscapps', 'miscapp_'.$row['miscapps_id']); 
    74         $row['ext'] = $fc->getCode(); 
     74        $row['ext'] = $fc->getDefault(); 
    7575        $row['enabled'] = $fc->isEnabled(); 
    7676 
     
    126126        $fc = new featurecode('miscapps', 'miscapp_'.$miscapps_id); 
    127127        $fc->setDescription($description); 
    128         $fc->setCode($ext); 
     128        $fc->setDefault($ext, true); 
    129129        $fc->update(); 
    130130} 
     131?> 
    131132 
    132 ?> 
  • modules/branches/2.2/miscapps/module.xml

    r3487 r4580  
    22        <rawname>miscapps</rawname> 
    33        <name>Misc Applications</name> 
    4         <version>0.2</version> 
     4        <version>0.2.0.1</version> 
    55        <type>setup</type> 
    66        <category>Internal Options &amp; Configuration</category> 
     
    99        </description> 
    1010        <changelog> 
     11                *0.2.0.1* #1902 miscapp always sets/pulls default code now regardless of custom override in featurecodes 
    1112                *0.2* Fix bug with adding new apps 
    1213        </changelog> 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads