Преглед изворни кода

Add changelog for demo mode and fix v-delete-user-notification check.

Raphael Schneeberger пре 6 година
родитељ
комит
a7ed4c8097
2 измењених фајлова са 4 додато и 1 уклоњено
  1. 1 1
      CHANGELOG.md
  2. 3 0
      bin/v-delete-user-notification

+ 1 - 1
CHANGELOG.md

@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
 
 ## [CURRENT] - Development
 ### Features
-- 
+- Add read only/demo mode function if DEMO_MODE is set to yes in hestia.conf
 
 ### Bugfixes
 - 

+ 3 - 0
bin/v-delete-user-notification

@@ -26,6 +26,9 @@ check_args '2' "$#" 'USER NOTIFICATION'
 is_format_valid 'user' 'nid'
 is_object_valid 'user' 'USER' "$user"
 
+# Perform verification if read-only mode is enabled
+check_hestia_demo_mode
+
 
 #----------------------------------------------------------#
 #                       Action                             #