diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2011-12-13 14:49:11 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2011-12-13 14:49:11 +0400 |
| commit | 5f0a3741d0a549849b503eca7b6d7b87d9903069 (patch) | |
| tree | 58c0cef7a8a507fd138a987dc7d27a5a4d905f18 /update.php | |
| parent | 46da73c255353a3f874d9742d7b2f9c64e7607b5 (diff) | |
add Public_Handler
misc code cleanup
Diffstat (limited to 'update.php')
| -rwxr-xr-x | update.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/update.php b/update.php index e6063a9e8..2fa2e2f54 100755 --- a/update.php +++ b/update.php @@ -47,14 +47,6 @@ // Create a database connection. $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - if (!$link) { - if (DB_TYPE == "mysql") { - print mysql_error(); - } - // PG seems to display its own errors just fine by default. - return; - } - init_connection($link); if ($op == "-feeds") { |