diff options
author | Max Kostikov <max@kostikov.co> | 2021-02-20 14:47:14 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2021-02-20 14:47:14 +0100 |
commit | b401869d30791a9b898b5a061ed6347249576e45 (patch) | |
tree | fa68acad2f8377ab8d4f4438d79b11bb8fd48707 | |
parent | cc5571687971ddcc097abb5e5c57689005d5b070 (diff) | |
download | volse-hubzilla-b401869d30791a9b898b5a061ed6347249576e45.tar.gz volse-hubzilla-b401869d30791a9b898b5a061ed6347249576e45.tar.bz2 volse-hubzilla-b401869d30791a9b898b5a061ed6347249576e45.zip |
Rename photo storage type system variable
-rw-r--r-- | Zotlabs/Update/_1243.php | 17 |
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..b3098c16e --- /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; + } + +} |