aboutsummaryrefslogtreecommitdiff
path: root/lib/events.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events.php')
-rw-r--r--lib/events.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/events.php b/lib/events.php
new file mode 100644
index 000000000..21492088c
--- /dev/null
+++ b/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