summaryrefslogtreecommitdiff
path: root/modules/php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-05 18:00:11 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-05 18:00:11 +0000
commite4a4b7cc7ea4a4f719ef5af394350896c90763b1 (patch)
tree44e144a7adcce543c98cece4cdf7abb01ccffbfa /modules/php
parent4a4a6570d8b84f7b58e1f6e27ffc16ee9f9f1789 (diff)
downloadbrdo-e4a4b7cc7ea4a4f719ef5af394350896c90763b1.tar.gz
brdo-e4a4b7cc7ea4a4f719ef5af394350896c90763b1.tar.bz2
- Patch #506976 by catch: rename hook_perm to hook_permission.
Diffstat (limited to 'modules/php')
-rw-r--r--modules/php/php.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/php/php.module b/modules/php/php.module
index d4b4b43a0..fccb0464a 100644
--- a/modules/php/php.module
+++ b/modules/php/php.module
@@ -22,9 +22,9 @@ function php_help($path, $arg) {
}
/**
- * Implement hook_perm().
+ * Implement hook_permission().
*/
-function php_perm() {
+function php_permission() {
return array(
'use PHP for settings' => array(
'title' => t('Use PHP for settings'),