Changeset 5739

Show
Ignore:
Timestamp:
04/20/08 09:49:13 (4 months ago)
Author:
p_lindheimer
Message:

Use new CALLERPRES() funtion in place of SetCallerPres?() in 1.6 - old version deprecated

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/extensions.class.php

    r5723 r5739  
    629629class ext_setcallerpres extends extension { 
    630630        function output() { 
    631                 return "SetCallerPres({$this->data})"; 
     631                global $version; 
     632 
     633                if (version_compare($version, "1.6", "lt")) { 
     634                        return "SetCallerPres({$this->data})"; 
     635                } else { 
     636                        return "Set(CALLERPRES()={$this->data})"; 
     637                } 
    632638        } 
    633639} 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads