Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
if ( $this->Application->isAdminUser ) {
	return true;
}

Pay attention to the "addr:checkItemStatus" method, because it's called from "OnBeforeItemUpdate" and "OnBeforeItemDelete" events, where such behavior may be desired.

Related Tasks