diff --git a/enrol/database/enrol.php b/enrol/database/enrol.php
index 55f1099..23ef83d 100644
--- a/enrol/database/enrol.php
+++ b/enrol/database/enrol.php
@@ -216,9 +216,13 @@ function sync_enrolments($role = null) {
         trigger_error($enroldb->ErrorMsg() .' STATEMENT: '. $sql);
         return false;
     }
+    // DON'T bail at this point - still may need to unassign roles even if the
+    // external db table is empty
+    /*
     if ( $rs->EOF ) { // no courses! outta here...
         return true;
     }
+    */
 
     $transaction = $DB->start_delegated_transaction();
 
