aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-06-18 19:51:42 +0000
committerrvelices <rv-github@modusoptimus.com>2014-06-18 19:51:42 +0000
commit3c13387dfd965afe5c3b2d9bd0e31303599d8784 (patch)
treebb516e9903da31323f9876f5540dac3ef4ca4d0f /picture.php
parentf894f1208c0ccbd1945baf5c1cf05adb61535caf (diff)
since number of accepted args not required for add_event_handler, simplify calls
git-svn-id: http://piwigo.org/svn/trunk@28714 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/picture.php b/picture.php
index abca13f48..aaefcaa3e 100644
--- a/picture.php
+++ b/picture.php
@@ -135,12 +135,7 @@ if ( isset($_GET['metadata']) )
}
// add default event handler for rendering element content
-add_event_handler(
- 'render_element_content',
- 'default_picture_content',
- EVENT_HANDLER_PRIORITY_NEUTRAL,
- 2
- );
+add_event_handler('render_element_content', 'default_picture_content');
// add default event handler for rendering element description
add_event_handler('render_element_description', 'nl2br');