diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-22 14:47:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-22 14:47:14 +0000 |
commit | 8749a43a5419fd0e55034a23afb3fc63158ccd5f (patch) | |
tree | 1e13e3a8b5ec70fb99a29bc6cda5bc304125cf25 /modules/user/user.module | |
parent | a71fd090aeefd818d80c6163c690694ea6259859 (diff) | |
download | brdo-8749a43a5419fd0e55034a23afb3fc63158ccd5f.tar.gz brdo-8749a43a5419fd0e55034a23afb3fc63158ccd5f.tar.bz2 |
- Patch #601548 by Damien Tournoud, moshe weitzman: loosen the dependency between t() and the theming layer.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 716780030..432f936b9 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -767,11 +767,11 @@ function user_permission() { return array( 'administer permissions' => array( 'title' => t('Administer permissions'), - 'description' => theme('placeholder', array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))), + 'description' => drupal_placeholder(array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))), ), 'administer users' => array( 'title' => t('Administer users'), - 'description' => theme('placeholder', array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))), + 'description' => drupal_placeholder(array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))), ), 'access user profiles' => array( 'title' => t('View user profiles'), @@ -785,7 +785,7 @@ function user_permission() { ), 'select account cancellation method' => array( 'title' => t('Select method for cancelling own account'), - 'description' => theme('placeholder', array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))), + 'description' => drupal_placeholder(array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))), ), ); } |