Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Shut up the error message
  • Loading branch information
uliwitness committed Sep 23, 2012
1 parent 3a8434b commit 96d4702
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions upgrade.inc.php
Expand Up @@ -18,20 +18,24 @@ function finish_update( $status, $output, $chirpdir )
if( !isset($row['original']) )
{
$result = mysql_query( "ALTER TABLE statuses ADD original varchar(140)" );
/*
if( mysql_errno() != 0 )
{
$status = 13762;
$errmsg = "Could not add new 'origins' field to statuses.";
}
*/
}
if( !isset($row['original_user_id']) )
{
$result = mysql_query( "ALTER TABLE statuses ADD original_user_id int" );
/*
if( mysql_errno() != 0 )
{
$status = 13763;
$errmsg = "Could not add new 'original_user_id' field to statuses.";
}
*/
}

echo "<html>\n<head><title>Update Chirp</title>\n</head>\n<body>\n";
Expand Down

0 comments on commit 96d4702

Please sign in to comment.