projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a02812
)
Import/Core_email.php
author
Alan Knowles
<alan@roojs.com>
Tue, 6 Oct 2015 05:59:17 +0000
(13:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 6 Oct 2015 05:59:17 +0000
(13:59 +0800)
Import/Core_email.php
patch
|
blob
|
history
diff --git
a/Import/Core_email.php
b/Import/Core_email.php
index
4e487a5
..
171984f
100644
(file)
--- a/
Import/Core_email.php
+++ b/
Import/Core_email.php
@@
-62,8
+62,8
@@
class Pman_Core_Import_Core_email extends Pman
$c = DB_dataObject::factory('core_email');
$ret = $c->get('name',$template_name);
- if($ret ) {
- $this->jerr("
we do not support updating the files ... - especially if the user has changed them!!
");
+ if($ret
&& empty($opts['update'])
) {
+ $this->jerr("
use --update 1 to update the template..
");
}
$mailtext = file_get_contents($opts['file']);