瀏覽代碼

Sharings plugin update function

Bob Mottram 8 年之前
父節點
當前提交
33e7a2f442
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      src/freedombone-app-gnusocial

+ 3
- 0
src/freedombone-app-gnusocial 查看文件

@@ -827,6 +827,9 @@ function install_gnusocial_plugin_sharings {
827 827
         exit 84352
828 828
     fi
829 829
 
830
+    # Looks like this update function isn't supported by the current php version
831
+    sed -i 's|ActivityVerb::UPDATE, ||g' /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs/local/plugins/Sharings/SharingsPlugin.php
832
+
830 833
     chown -R www-data:www-data /var/www/$GNUSOCIAL_DOMAIN_NAME/htdocs
831 834
 
832 835
     set_completion_param gnusocial "sharings plugin commit" "$SHARINGS_COMMIT"