summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-09-19 16:01:42 +1200
committerBrenda Wallace <shiny@cpan.org>2009-09-19 16:01:42 +1200
commit83e232bd3f9f58f4d670bcf1e579fb65293096c6 (patch)
tree2bbc827ef69d5d55eb25814d73db7ccf06671997
parente9bdc696516b007b94e9557ba98d5e96779fb0e0 (diff)
Pear code style
-rw-r--r--install.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/install.php b/install.php
index 81241315e..46248c789 100644
--- a/install.php
+++ b/install.php
@@ -31,6 +31,8 @@
* @author Sarven Capadisli <csarven@status.net>
* @author Tom Adams <tom@holizz.com>
* @license GNU Affero General Public License http://www.gnu.org/licenses/
+ * @version 0.9
+ * @link http://status.net
*/
define('INSTALLDIR', dirname(__FILE__));
@@ -476,12 +478,7 @@ E_O_T;
function updateStatus($status, $error=false)
{
- echo '<li';
-
- if ($error) {
- echo ' class="error"';
- }
- echo ">$status</li>";
+ echo '<li' . ($error ? ' class="error"': '' ) . ">$status</li>";
}
function handlePost()