aboutsummaryrefslogtreecommitdiff
path: root/mod/translation_editor/lib/events.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/translation_editor/lib/events.php')
-rw-r--r--mod/translation_editor/lib/events.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/mod/translation_editor/lib/events.php b/mod/translation_editor/lib/events.php
new file mode 100644
index 000000000..21492088c
--- /dev/null
+++ b/mod/translation_editor/lib/events.php
@@ -0,0 +1,9 @@
+<?php
+
+ function translation_editor_upgrade_event($event, $type, $object){
+
+ if(defined("UPGRADING") && (UPGRADING == "upgrading")){
+ // call action hook function to avoid coding the same thing twice
+ translation_editor_actions_hook("action", "upgrading", null, null);
+ }
+ } \ No newline at end of file