Method code for $registry.remove()

[Turn on line numbering]
arg name;

// removes the object from the database.
// THIS: is what is broken with guests, should fix it.
if (!.trusts(caller()) && sender() != this())
    throw(~perm, "Permission denied.");
name = .strip_key(name);
(> 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