[MIRROR] Server maint subsystem (#9408)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-11-04 14:00:41 -07:00
committed by GitHub
parent 4f9bd4462d
commit f72f2f8c89
225 changed files with 689 additions and 683 deletions

View File

@@ -208,15 +208,6 @@
list -= null
return
//CHOMPAdd Start, list clear with return value
/**
* Removes any null entries from the list
* Returns TRUE if the list had nulls, FALSE otherwise
**/
/proc/list_clear_nulls(list/list_to_clear)
return (list_to_clear.RemoveAll(null) > 0)
//CHOMPAdd End
/*
* Returns list containing all the entries from first list that are not present in second.
* If skiprep = 1, repeated elements are treated as one.
@@ -234,6 +225,13 @@
result = first - second
return result
/**
* Removes any null entries from the list
* Returns TRUE if the list had nulls, FALSE otherwise
**/
/proc/list_clear_nulls(list/list_to_clear)
return (list_to_clear.RemoveAll(null) > 0)
/*
Two lists may be different (A!=B) even if they have the same elements.
This actually tests if they have the same entries and values.