owncloud/core — pull request #10261 by blizzz (2014-08-07 15:24:33+00:00)
Title: ldap_ prefix will be added in invokeLDAPMethod(), having it would lead t...

...o a unexisting function, fixes #9829

This was not detected by unit tests, because Jenkins does not have LDAP module (and therefore the tests are written to avoid LDAP functions). We should change that.

The fix is less than a one-liner… The removed ldap_ prefix (see diff) will be added in invokeLDAPMethod(), i.e. it was doubled and thus led to the bug.

How to test:
- have LDAP set up
- delete User Mappings on Expert tab (not in production system of course!!!)
- go to the Users page
- check whether ```Invalid argument supplied for foreach() at /var/www/owncloud/apps/user_ldap/lib/access.php#201``` appears in the log file (before, bad) or not (now, good).

Please test/review @4lfr3d7115 @xtruthx @prislea or others, thx!