Fix script
This commit is contained in:
parent
ff7daa22ff
commit
7895ff7051
|
@ -8944,8 +8944,8 @@ function expire_gnu_social_posts {
|
||||||
|
|
||||||
echo '<?php' > $gnusocial_expire_script
|
echo '<?php' > $gnusocial_expire_script
|
||||||
echo '' >> $gnusocial_expire_script
|
echo '' >> $gnusocial_expire_script
|
||||||
echo '// GNU Social post expiry script, based on StatExpire by Tony Baldwin' > $gnusocial_expire_script
|
echo '// GNU Social post expiry script, based on StatExpire by Tony Baldwin' >> $gnusocial_expire_script
|
||||||
echo '// https://github.com/tonybaldwin/statexpire' > $gnusocial_expire_script
|
echo '// https://github.com/tonybaldwin/statexpire' >> $gnusocial_expire_script
|
||||||
echo '' >> $gnusocial_expire_script
|
echo '' >> $gnusocial_expire_script
|
||||||
echo '$oldate=date(("Y-m-d"), strtotime("-3 months"));' >> $gnusocial_expire_script
|
echo '$oldate=date(("Y-m-d"), strtotime("-3 months"));' >> $gnusocial_expire_script
|
||||||
echo '$username="root";' >> $gnusocial_expire_script
|
echo '$username="root";' >> $gnusocial_expire_script
|
||||||
|
|
Loading…
Reference in New Issue