From e4a4b7cc7ea4a4f719ef5af394350896c90763b1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 5 Jul 2009 18:00:11 +0000 Subject: - Patch #506976 by catch: rename hook_perm to hook_permission. --- modules/toolbar/toolbar.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/toolbar/toolbar.module') diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module index cf38e738b..57d7c9b13 100644 --- a/modules/toolbar/toolbar.module +++ b/modules/toolbar/toolbar.module @@ -7,9 +7,9 @@ */ /** - * Implementation of hook_perm(). + * Implementation of hook_permission(). */ -function toolbar_perm() { +function toolbar_permission() { return array( 'access toolbar' => array( 'title' => t('Access administration toolbar'), -- cgit v1.2.3