Ignore:
Timestamp:
11/26/13 21:54:07 (6 years ago)
Author:
mistic100
Message:

remove is_adviser() and get_email_address_as_display_text()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_user.inc.php

    r25728 r25729  
    13181318 
    13191319/** 
    1320  * Adviser status is depreciated from piwigo 2.2 
    1321  * @return false 
    1322  */ 
    1323 function is_adviser() 
    1324 { 
    1325   // TODO for Piwigo 2.4 : trigger a warning. We don't do it on Piwigo 2.3 
    1326   // to avoid changes for plugin contributors 
    1327   // trigger_error('call to obsolete function is_adviser', E_USER_WARNING); 
    1328   return false; 
    1329 } 
    1330  
    1331 /** 
    13321320 * Returns if current user can edit/delete/validate a comment. 
    13331321 * 
     
    13701358 
    13711359  return false; 
    1372 } 
    1373  
    1374 /** 
    1375  * Return mail address as display text 
    1376  * @return string 
    1377  */ 
    1378 function get_email_address_as_display_text($email_address) 
    1379 { 
    1380   global $conf; 
    1381  
    1382   if (!isset($email_address) or (trim($email_address) == '')) 
    1383   { 
    1384     return ''; 
    1385   } 
    1386   else 
    1387   { 
    1388     return $email_address; 
    1389   } 
    13901360} 
    13911361 
Note: See TracChangeset for help on using the changeset viewer.