Permalink
Browse files

blog MDL-25981 PULL-162 Removed typehinting in blog after changed fro…

…m stdClass to cm_info
  • Loading branch information...
1 parent af0a06c commit 78f0f64d47c80a35c30fd3b1dfe440ec2abb1ede Sam Hemelryk committed Feb 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 blog/lib.php
View
@@ -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();

0 comments on commit 78f0f64

Please sign in to comment.