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
This commit is contained in:
Evan Prodromou
2008-05-17 11:47:01 -04:00
parent ffc729453d
commit 3b14b7901c
24 changed files with 37 additions and 36 deletions

View File

@@ -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'));
}
?>