projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
567a89f
)
Pman.php
author
Alan Knowles
<alan@roojs.com>
Wed, 7 May 2014 06:39:05 +0000
(14:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 7 May 2014 06:39:05 +0000
(14:39 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
c895368
..
88d55cb
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-918,6
+918,10
@@
class Pman extends HTML_FlexyFramework_Page
function addEvent($act, $obj = false, $remarks = '')
{
+
+ if (!empty(HTML_FlexyFramework::get()->Pman['disabled_events'])) {
+ return;
+ }
$au = $this->getAuthUser();
$e = DB_DataObject::factory('Events');