Changed db connect and database query structure so PhpStorm can detect it.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
function getUser() {
|
||||
$stmt = $GLOBALS["db"]->prepare("
|
||||
$stmt = prepareQuery("
|
||||
SELECT
|
||||
`password`,
|
||||
`userID`,
|
||||
@@ -61,5 +61,4 @@ class loginException extends Exception
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user