diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-12-27 16:59:49 -0500 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-12-27 16:59:49 -0500 |
commit | 3b295750a02fbdb7f3ea6a3d75cf6260df6a2d46 (patch) | |
tree | 5533307aa7ab2f90788f1777eb18f1cc42e82ed4 /mod/thewire/upgrades | |
parent | f8da2cee8743cf3cbc60c805ce5c15367e6ccf94 (diff) | |
download | elgg-3b295750a02fbdb7f3ea6a3d75cf6260df6a2d46.tar.gz elgg-3b295750a02fbdb7f3ea6a3d75cf6260df6a2d46.tar.bz2 |
Fixes #4882. Added upgrade for The Wire to register thewire objects as ElggWire class.
Diffstat (limited to 'mod/thewire/upgrades')
-rw-r--r-- | mod/thewire/upgrades/2012122701-fix_entity_class.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/thewire/upgrades/2012122701-fix_entity_class.php b/mod/thewire/upgrades/2012122701-fix_entity_class.php new file mode 100644 index 000000000..a1f382712 --- /dev/null +++ b/mod/thewire/upgrades/2012122701-fix_entity_class.php @@ -0,0 +1,8 @@ +<?php +/** + * Register thewire objects with the ElggWire class. + */ + +if (get_subtype_id('object', 'thewire')) { + update_subtype('object', 'thewire', 'ElggWire'); +}
\ No newline at end of file |