Apply trim
This commit is contained in:
parent
7895ff7051
commit
c62d9cbcf3
|
@ -8949,7 +8949,7 @@ function expire_gnu_social_posts {
|
||||||
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
|
||||||
echo "\$password=file_get_contents(\"$DATABASE_PASSWORD_FILE\");" >> $gnusocial_expire_script
|
echo "\$password=trim(file_get_contents(\"$DATABASE_PASSWORD_FILE\"));" >> $gnusocial_expire_script
|
||||||
echo '$database="gnusocial";' >> $gnusocial_expire_script
|
echo '$database="gnusocial";' >> $gnusocial_expire_script
|
||||||
echo '' >> $gnusocial_expire_script
|
echo '' >> $gnusocial_expire_script
|
||||||
echo 'if (!$link = mysql_connect("localhost", $username, $password)) {' >> $gnusocial_expire_script
|
echo 'if (!$link = mysql_connect("localhost", $username, $password)) {' >> $gnusocial_expire_script
|
||||||
|
|
Loading…
Reference in New Issue