core MDL-19799 Upgraded deprecated calls and minor documentation improvement

This commit is contained in:
samhemelryk
2009-09-30 06:14:58 +00:00
parent 521fb444ee
commit ceebb2ec5f
3 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -113,8 +113,10 @@ function isteacherinanycourse($userid=0, $includeadmin=true) {
/**
* Determines if the specified user is logged in as guest.
*
* See {@link isguestuser()} as an alternative
*
* @deprecated
* @global object
* @uses CONTEXT_SYSTEM
* @param int $userid The user being tested. You can set this to 0 or leave it blank to test the currently logged in user.
* @return bool
*/