server/lib
Lukas Reschke ed8a98eaa1
Prevent SQL error message in case of error
`\OC\User\Database::createUser` can throw a PHP exception in case the UID is longer than
permitted in the database. This is against it's PHPDocs and we should cast this to `false`,
so that the regular error handling triggers in.

The easiest way to reproduce is on MySQL:

1. Create user `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` in admin panel
2. Create user `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` in admin panel again
3. See SQL exception as error message

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-08-17 12:08:40 +02:00
..
composer Merge pull request #6097 from nextcloud/issue-6078-accounts-table-missing 2017-08-14 12:14:09 +02:00
l10n [tx-robot] updated from transifex 2017-08-17 00:08:14 +00:00
private Prevent SQL error message in case of error 2017-08-17 12:08:40 +02:00
public Merge pull request #6130 from nextcloud/cleanup-unused-methods 2017-08-16 08:55:06 +02:00
autoloader.php Revert "Add a magic wrapper to allow phpunit4 to run the code again " 2017-03-20 14:25:43 +01:00
base.php Use the guest.css for the maintenance page as well 2017-06-13 16:43:25 -05:00