projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2403b81
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@roojs.com>
Fri, 12 Jul 2013 08:07:38 +0000
(16:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 12 Jul 2013 08:07:38 +0000
(16:07 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
a259651
..
e95d011
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-77,6
+77,11
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
return false;
}
+ function beforeDelete($dependants_array, $roo) {
+ if ($this->delivered()) {
+ $roo->jerr("you can not delete a record of a successfull delivery");
+ }
+ }
function act_start($set = false)