Added 'public' to database connect function
This commit is contained in:
parent
9cb6dc19b7
commit
1019b0fef1
@ -23,7 +23,7 @@ final class Database extends Module {
|
|||||||
'030003' #3.0.3
|
'030003' #3.0.3
|
||||||
);
|
);
|
||||||
|
|
||||||
static function connect($host = 'localhost', $user, $password, $name = 'lychee') {
|
public static function connect($host = 'localhost', $user, $password, $name = 'lychee') {
|
||||||
|
|
||||||
# Check dependencies
|
# Check dependencies
|
||||||
Module::dependencies(isset($host, $user, $password, $name));
|
Module::dependencies(isset($host, $user, $password, $name));
|
||||||
|
Loading…
Reference in New Issue
Block a user