~ubuntu-branches/ubuntu/trusty/moodle/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/cronlib.php

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2013-09-09 15:22:35 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20130909152235-d9njbvgugzm380an
Tags: 2.5.2-1
* New upstream version: 2.5.2.
  - Incorporates S3 security patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
                                                  AND (lastname = '' OR firstname = '' OR email = '')",
100
100
                                          array($cuttime));
101
101
            foreach ($rs as $user) {
 
102
                if (isguestuser($user) or is_siteadmin($user)) {
 
103
                    continue;
 
104
                }
102
105
                delete_user($user);
103
106
                mtrace(" Deleted not fully setup user $user->username ($user->id)");
104
107
            }