aurweb/web/lib
Eli Schwartz 050b08081a Fix more PHP 7.4 warnings
The try_login() function documents it returns an array containing an
'error' key, and our only caller *only* consults the 'error' key. Then
the function returns null instead of an array, if the login succeeded!

I question why we bother returning the new SID if we never use it,
surely we could either return the error or return default null. But, for
now, I'm just going to fix it to return what it's actually supposed to,
without changing the API.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2020-02-13 09:11:34 +01:00
..
acctfuncs.inc.php Fix more PHP 7.4 warnings 2020-02-13 09:11:34 +01:00
aur.inc.php Fix PHP 7.4 warnings 2020-02-13 09:11:28 +01:00
aurjson.class.php aurjson: use APCu/memcached for rate limiting 2019-11-02 18:32:07 -04:00
cachefuncs.inc.php Cache package provider and dependency information 2019-10-06 16:13:38 -04:00
confparser.inc.php confparser.inc.php: Add missing dollar sign 2018-05-12 12:37:16 +02:00
credentials.inc.php Move permission for LIST_COMMENTS to dev/tu block 2019-08-18 13:01:37 -04:00
DB.class.php Fix DB.class.php to match config and include SQLite support 2016-11-10 18:31:20 +01:00
feedcreator.class.php Avoid use of "<b>"/"</b>" 2012-09-24 12:23:05 +02:00
gettext.php Rename constructors to __construct 2016-01-28 22:55:32 +01:00
pkgbasefuncs.inc.php Display warning when flagging VCS packages 2019-05-25 19:01:33 -04:00
pkgfuncs.inc.php Fix PHP 7.4 warnings 2020-02-13 09:11:28 +01:00
pkgreqfuncs.inc.php Store timestamp and user ID when closing requests 2019-11-23 12:30:46 -05:00
routing.inc.php Add support for Terms of Service documents 2017-04-30 16:47:13 +02:00
stats.inc.php Handle empty resultset getting recent 10 packages 2018-03-21 07:45:26 +01:00
streams.php Rename constructors to __construct 2016-01-28 22:55:32 +01:00
timezone.inc.php Fix warning with invalid time zone 2017-02-27 18:20:00 +01:00
translator.inc.php Use native language name for Finnish 2019-05-24 12:37:08 -04:00
version.inc.php Release 4.8.0 2019-10-19 00:20:40 -04:00