diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-17 11:47:01 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-17 11:47:01 -0400 |
commit | 3b14b7901c65144835d74b712279d0492c267c0c (patch) | |
tree | 9ce2b2053e00cda38030dbc0e2cba4c1db33c628 /index.php | |
parent | ffc729453d487941e8a001d8a112c6509c892bc6 (diff) |
fixes to make it all lint
Ran everything through php -l, found out that it didn't compile.
So: fixed the am-I-running-in-Laconica check at the top of each file.
Some syntax fixes in shownotice, showstream, common.
darcs-hash:20080517154701-84dde-8d38da89c5b9cb3b40704adb04a4de880c204181.gz
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |