Skip to content

Commit

Permalink
"MDL-14129,fix print_error"
Browse files Browse the repository at this point in the history
  • Loading branch information
dongsheng committed Jun 15, 2008
1 parent 83b10e5 commit 28800f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion userpix/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM));

if (!$users = $DB->get_records("user", array("picture"=>"1"), "lastaccess DESC", "id,firstname,lastname")) {
print_error("no users!");
print_error("nousers");
}

$title = get_string("users");
Expand Down
2 changes: 1 addition & 1 deletion userpix/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM));

if (!$users = $DB->get_records("user", array("picture"=>"1"), "lastaccess DESC", "id,firstname,lastname")) {
print_error("no users!");
print_error('nousers');
}

$title = get_string("users");
Expand Down

0 comments on commit 28800f0

Please sign in to comment.