Changed db connect and database query structure so PhpStorm can detect it.

This commit is contained in:
Marijn Jansen
2017-01-29 14:01:25 +01:00
parent dd2113b234
commit b24fed57d9
15 changed files with 104 additions and 102 deletions

View File

@@ -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);
}
}
?>