Skip to content

Commit 78b9e04

Browse files
committed
remove chmod() callback
1 parent 970cfdb commit 78b9e04

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "fatfish/notification",
33
"description": "Notification plugin for craft 3.x",
44
"type": "craft-plugin",
5-
"version": "1.0.5.2-beta",
5+
"version": "1.0.5.3-beta",
66
"keywords": [
77
"craft",
88
"cms",

src/services/NotificationSettingService.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ public function write_system_config_xml($NotificationSettingRecord): void
7373
$xml->appendChild($xml_settings);
7474
$getcurrent = dirname(dirname( dirname(__FILE__)));
7575
$storescript = $getcurrent."/src/cron/system.xml";
76-
chmod($storescript,0777);
77-
if(!file_exists($storescript))
76+
if(!file_exists($storescript))
7877
{
7978
\Craft::info("system.xml doesnot exist under cron folder");
8079
return;

0 commit comments

Comments
 (0)