diff --git a/src/freedombone b/src/freedombone index 5f90f504..bcf0ac6a 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8949,7 +8949,7 @@ function expire_gnu_social_posts { echo '' >> $gnusocial_expire_script echo '$oldate=date(("Y-m-d"), strtotime("-3 months"));' >> $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 '' >> $gnusocial_expire_script echo 'if (!$link = mysql_connect("localhost", $username, $password)) {' >> $gnusocial_expire_script