TASK-232 Change encryt with URL_KEY and Deprecate encryptlink
This commit is contained in:
@@ -770,14 +770,14 @@ class G
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypt URL
|
||||
* Encrypt URL DEPRECATED
|
||||
*
|
||||
* @author Fernando Ontiveros Lira <fernando@colosa.com>
|
||||
* @access public
|
||||
* @param string $urlLink
|
||||
* @return string
|
||||
*/
|
||||
public static function encryptlink($url)
|
||||
public static function encryptlinkDeprecated($url)
|
||||
{
|
||||
if (defined('ENABLE_ENCRYPT') && ENABLE_ENCRYPT == 'yes') {
|
||||
return urlencode(G::encrypt($url, URL_KEY));
|
||||
|
||||
Reference in New Issue
Block a user