Fix warnings
This commit is contained in:
parent
b64c7dd87d
commit
1deefd3694
@ -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));
|
||||
}
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user