summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/index.php b/index.php
index 812239e3d..9d27eef2d 100644
--- a/index.php
+++ b/index.php
@@ -28,10 +28,8 @@ $actionfile = INSTALLDIR."/actions/$action.php";
if (file_exists($actionfile)) {
require_once($actionfile);
$action_class = ucfirst($action) . "Action";
- if (function_exists($action_function)) {
- call_user_func($action_function);
+ call_user_func(array($action_class, 'handle'), $_REQUEST);
} else {
common_user_error(_t('Unknown action'));
}
-?> \ No newline at end of file