Fix warnings

This commit is contained in:
Timothy Warren 2012-02-21 20:19:21 -05:00
parent b64c7dd87d
commit 1deefd3694
2 changed files with 2 additions and 3 deletions

View File

@ -62,7 +62,7 @@ class Settings {
/**
* Output the settings on destruct
*/
protected function __destruct()
public function __destruct()
{
file_put_contents(BASE_DIR . '/settings.json', json_encode($this->current));
}

View File

@ -190,10 +190,9 @@ class Add_DB extends GtkWindow {
/**
* Set defaults for new database type
*
* @param GtkComboBox $combo
* @return void
*/
public function change_db($combo)
public function change_db()
{
$new_db = $this->dbtype->get_active_text();