aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-01 17:13:23 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-01 17:13:23 +0000
commitba4a4ca4f87076fdb2e8b2849a15b6759501f330 (patch)
tree597dc10d2c6c4371ec81b79d10e750965708c563 /engine
parente8b29ab788547534deb8a0a946b5f77700a9f7a9 (diff)
downloadelgg-ba4a4ca4f87076fdb2e8b2849a15b6759501f330.tar.gz
elgg-ba4a4ca4f87076fdb2e8b2849a15b6759501f330.tar.bz2
Refs #1086: Deprecating kses and removing it from core. Version bump.
git-svn-id: https://code.elgg.org/elgg/trunk@3376 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/upgrades/2009070101.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2009070101.php b/engine/lib/upgrades/2009070101.php
new file mode 100644
index 000000000..edd8ce4b4
--- /dev/null
+++ b/engine/lib/upgrades/2009070101.php
@@ -0,0 +1,11 @@
+<?php
+
+ global $CONFIG;
+
+ /// Deprecate kses and activate htmlawed
+ /**
+ * Kses appears to be a dead project so we are deprecating it in favour of htmlawed.
+ */
+ disable_plugin('kses', $CONFIG->site->guid);
+ enable_plugin('htmlawed', $CONFIG->site->guid);
+?> \ No newline at end of file