MantisBT: master 3b75cafd

Author Committer Branch Timestamp Parent
vboctor vboctor master 2017-12-05 21:37 master c5868132
Changeset

Working add monitor implementation

  • Simplify commands to just encapsulate business logic.
  • Commands no longer have hooks, use existing events.
  • Remove context and use standard APIs.
  • Error handling not implemented.

The command is used from UI, but can easily be used from APIs.

mod - bug_monitor_add.php Diff File
mod - core/commands/Command.php Diff File
rm - core/commands/CommandFactory.php Diff
rm - core/commands/Context.php Diff
mod - core/commands/MonitorCommand.php Diff File