View/Edit #2:_set_best_before

Switch to edit mode.

Name(s): _set_best_before
1:  "object:_set_best_before([until])"
2:  "extends object until <until>.  If <until> is not specified, extends object for the appropriate time for that object class."
3:  {?until = time() + (this.owner:is_over_quota() ? 3600 * 48 | this.extend_expiry_time)} = args
4:  if (!caller_perms():isa($guardian))
5:    raise(E_PERM)
6:  elseif (this:_get_solidified() || this:_get_petrified())
7:    raise(E_INVARG)
8:    "Don't allow unfreezing of frozen objects"
9:  else
10:   return this.best_before = until
11: endif
12: "Last modified by Lao-Tzu (#8084) on Wed Feb 21 12:41:06 2001 MST."
13: "This verb previously owned by manta (#7165), and chowned to $slacker upon dewizarding (Sat Aug 17 14:50:04 2002 MDT)."
14: "Last modified by Dax (#789) on Sat Aug 17 14:50:04 2002 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Slacker (#55)

You are not logged in.

[home | help | who | search | setup | code]