Commit graph

17 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
f4feabb83f MDL-66968 php74: array_key_exists() for objects is deprecated
Replace it for correct property_exists() when the element
being inspected is a property of object/class.

Amended and squased changes:
- keep mongo unmodified. The information is array, hence correct.
- fix a couple of messaging phpdocs that were incorrect.

Amended take#2:
- As far as mongo resturns BSONDocument that is ArrayObject, aka
implements ArrayAccess, we have decided to explicitly cast results
to array so existing array_key_exists() and other accesses will
continue working the same.
2019-10-25 00:49:04 +02:00
Marina Glancy
c4d0b752a2 MDL-51784 various: use __construct() for PHP7 compatibility 2015-12-11 12:48:24 +08:00
Sam Hemelryk
a2ed6e69f9 MDL-44255 user: tidied up phpdocs and coding style 2014-02-24 09:23:47 +13:00
Rajesh Taneja
ff10ac5258 MDL-39110 Administration: Get role from get_roles function to display as filter label 2013-04-15 14:25:38 +08:00
Frederic Massart
4373103084 MDL-34460 Librairies: Replaced deprecated get_context_instance() 2012-07-26 13:23:28 +08:00
Dan Poltawski
03a50532be user/filters MDL-25657 Obsolete reference to timestart 2011-01-03 18:08:30 +00:00
Petr Skoda
bf718f50ac MDL-24321 switching to stdClass in /user/ 2010-09-21 08:27:29 +00:00
David Mudrak
ad9432a604 MDL-21695 Removing obvious helps from user filters as suggested by Helen 2010-07-28 11:06:18 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
skodak
5183f0cc5b MDL-15094 fixed stats regression and prefix cleanup 2008-06-05 20:35:28 +00:00
skodak
a5d424df7c MDL-14679 converted some get/set_field() 2008-06-02 21:39:23 +00:00
skodak
624a690b3d MDL-14679 first part of datalib conversion 2008-05-25 09:39:02 +00:00
poltawski
85de84a89f MDL-13262 - role related user filters were assuming roleids because array_merge
was stomping on keys. Patch by Dennis Rochford

merged from MOODLE_19_STABLE
2008-02-08 12:16:00 +00:00
nfreear
3b726c87a3 Fixes MDL-12539 "Help link text for all admin/user filters are broken". 2007-12-11 12:58:37 +00:00
skodak
cd1edf9e8a MDL-12101 cleanup/fixing/refactoring of user bulk operation and admin user browsing 2007-11-13 08:43:20 +00:00
toyomoyo
c3260b0714 MDL-10181, user management improvements, adding bulk user operations, code is not finished 2007-08-07 07:26:58 +00:00