aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-23 10:02:16 +0000
committerMario <mario@mariovavti.com>2021-02-23 10:02:16 +0000
commit135305d975c2d314843df108f4ae558376936c6b (patch)
treef7bda22dca8b065fe11980ffb72a64496ec55257 /Zotlabs
parent28fe91dfa7e3a2afd7b97cbc8e8ea6a93493494b (diff)
parent34aa8ba3ccba00d86d481663cef28e6d422ffbe3 (diff)
downloadvolse-hubzilla-135305d975c2d314843df108f4ae558376936c6b.tar.gz
volse-hubzilla-135305d975c2d314843df108f4ae558376936c6b.tar.bz2
volse-hubzilla-135305d975c2d314843df108f4ae558376936c6b.zip
Merge branch 'dev' into 'dev'
Rename photo storage type system variable See merge request hubzilla/core!1911
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Update/_1243.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1243.php b/Zotlabs/Update/_1243.php
new file mode 100644
index 000000000..850cb1d6c
--- /dev/null
+++ b/Zotlabs/Update/_1243.php
@@ -0,0 +1,17 @@
+<?php
+
+namespace Zotlabs\Update;
+
+class _1243 {
+
+ function run() {
+
+ $x = get_config('system','filesystem_storage_thumbnails');
+ del_config('system','filesystem_storage_thumbnails');
+ if ($x !== false)
+ set_config('system','photo_storage_type', intval($x));
+
+ return UPDATE_SUCCESS;
+ }
+
+}