Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/YOURLS/YOURLS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'includes/functions-upgrade.php')
-rw-r--r--includes/functions-upgrade.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/functions-upgrade.php b/includes/functions-upgrade.php
index 2de8e0e2..72703458 100644
--- a/includes/functions-upgrade.php
+++ b/includes/functions-upgrade.php
@@ -206,8 +206,8 @@ function yourls_upgrade_to_143( ) {
*/
function yourls_upgrade_to_141( ) {
// Kill old cookies from 1.3 and prior
- setcookie('yourls_username', null, time() - 3600 );
- setcookie('yourls_password', null, time() - 3600 );
+ setcookie('yourls_username', '', time() - 3600 );
+ setcookie('yourls_password', '', time() - 3600 );
// alter table URL
yourls_alter_url_table_to_141();
// recreate the htaccess file if needed
@@ -445,4 +445,3 @@ function yourls_clean_htaccess_for_14() {
return $result;
}
-