Permalink
Browse files

MDL-28228 pagelib - incorrect DEBUG constant used

  • Loading branch information...
1 parent d0cdf8e commit 831b73773e8ddce2f2c716a8565b4874beed1f26 @danpoltawski danpoltawski committed with Sam Hemelryk Jul 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pagelib.php
View
@@ -544,7 +544,7 @@ protected function magic_get_devicetypeinuse() {
* @return bool
*/
protected function magic_get_legacythemeinuse() {
- debugging('$PAGE->legacythemeinuse is a deprecated property - please use $PAGE->devicetypeinuse and check if it is equal to legacy.', DEVELOPER_DEBUG);
+ debugging('$PAGE->legacythemeinuse is a deprecated property - please use $PAGE->devicetypeinuse and check if it is equal to legacy.', DEBUG_DEVELOPER);
return ($this->devicetypeinuse == 'legacy');
}

0 comments on commit 831b737

Please sign in to comment.