Changeset 25729 for trunk/include
- Timestamp:
- Nov 26, 2013, 9:54:07 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_user.inc.php
r25728 r25729 1318 1318 1319 1319 /** 1320 * Adviser status is depreciated from piwigo 2.21321 * @return false1322 */1323 function is_adviser()1324 {1325 // TODO for Piwigo 2.4 : trigger a warning. We don't do it on Piwigo 2.31326 // to avoid changes for plugin contributors1327 // trigger_error('call to obsolete function is_adviser', E_USER_WARNING);1328 return false;1329 }1330 1331 /**1332 1320 * Returns if current user can edit/delete/validate a comment. 1333 1321 * … … 1370 1358 1371 1359 return false; 1372 }1373 1374 /**1375 * Return mail address as display text1376 * @return string1377 */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 else1387 {1388 return $email_address;1389 }1390 1360 } 1391 1361
Note: See TracChangeset
for help on using the changeset viewer.