mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
blog MDL-25981 PULL-162 Removed typehinting in blog after changed from stdClass to cm_info
This commit is contained in:
parent
af0a06cb5a
commit
78f0f64d47
@ -548,11 +548,11 @@ function blog_get_options_for_course(stdClass $course, stdClass $user=null) {
|
||||
* Get the blog options relating to the given module for the given user
|
||||
*
|
||||
* @staticvar array $moduleoptions Cache
|
||||
* @param stdClass $module The module to get options for
|
||||
* @param stdClass|cm_info $module The module to get options for
|
||||
* @param stdClass $user The user to get options for null == currentuser
|
||||
* @return array
|
||||
*/
|
||||
function blog_get_options_for_module(stdClass $module, stdClass $user=null) {
|
||||
function blog_get_options_for_module($module, $user=null) {
|
||||
global $CFG, $USER;
|
||||
// Cache
|
||||
static $moduleoptions = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user