We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c66309a commit 246ed8aCopy full SHA for 246ed8a
1 file changed
src/app/code/community/FireGento/AdminMonitoring/Model/History.php
@@ -79,11 +79,21 @@ public function getDecodedContentDiff()
79
*
80
* @return array Decoded Content
81
*/
82
- private function getDecodedContent()
+ public function getDecodedContent()
83
{
84
return json_decode($this->getContent(), true);
85
}
86
87
+ /**
88
+ * Check if the history action is an update action.
89
+ *
90
+ * @return bool Result
91
+ */
92
+ public function isInsert()
93
+ {
94
+ return ($this->getAction() == FireGento_AdminMonitoring_Helper_Data::ACTION_INSERT);
95
+ }
96
+
97
/**
98
* Check if the history action is an update action.
99
0 commit comments