-remove unneeded check of "if file_info is not None:"
-remove undefined variable fomr phone_home_stat.php
This commit is contained in:
parent
0fee577c67
commit
214c6e85cc
2 changed files with 17 additions and 17 deletions
|
@ -48,9 +48,7 @@ if (PEAR::isError($CC_DBC)) {
|
|||
echo "Database connection problem.".PHP_EOL;
|
||||
echo "Check if database '{$CC_CONFIG['dsn']['database']}' exists".
|
||||
" with corresponding permissions.".PHP_EOL;*/
|
||||
if ($p_exitOnError) {
|
||||
exit(1);
|
||||
}
|
||||
exit(1);
|
||||
} else {
|
||||
//echo "* Connected to database".PHP_EOL;
|
||||
$CC_DBC->setFetchMode(DB_FETCHMODE_ASSOC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue