Method code for $user_db<$registry>.remove()

[Turn off line numbering]
  1: arg name;
  2: 
  3: // removes the object from the database.
  4: // THIS: is what is broken with guests, should fix it.
  5: if (!.trusts(caller()) && sender() != this())
  6:     throw(~perm, "Permission denied.");
  7: name = .strip_key(name);
  8: (> pass(name) <);

// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit

Method Ancestry Override:

 ----   47 $registry.remove(name)
 ----   44 $db.remove(key)

Tlon