summaryrefslogtreecommitdiff
path: root/modules/upload
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/upload
parent4a4a6570d8b84f7b58e1f6e27ffc16ee9f9f1789 (diff)
downloadbrdo-e4a4b7cc7ea4a4f719ef5af394350896c90763b1.tar.gz
brdo-e4a4b7cc7ea4a4f719ef5af394350896c90763b1.tar.bz2
- Patch #506976 by catch: rename hook_perm to hook_permission.
Diffstat (limited to 'modules/upload')
-rw-r--r--modules/upload/upload.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index 2d1d6aac4..c73724c3a 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -40,9 +40,9 @@ function upload_theme() {
}
/**
- * Implement hook_perm().
+ * Implement hook_permission().
*/
-function upload_perm() {
+function upload_permission() {
return array(
'upload files' => array(
'title' => t('Upload files'),