From 086d517b877f82513bc9f5208580b7d57453a8e2 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Tue, 2 Mar 2010 16:07:35 -0800 Subject: [PATCH] Fix a few typos --- actions/recoverpassword.php | 2 +- scripts/fixup_utf8.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/recoverpassword.php b/actions/recoverpassword.php index dcff35f6ed..1e2775e7a7 100644 --- a/actions/recoverpassword.php +++ b/actions/recoverpassword.php @@ -21,7 +21,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } # You have 24 hours to claim your password -define(MAX_RECOVERY_TIME, 24 * 60 * 60); +define('MAX_RECOVERY_TIME', 24 * 60 * 60); class RecoverpasswordAction extends Action { diff --git a/scripts/fixup_utf8.php b/scripts/fixup_utf8.php index 30befadfd4..2af6f9cb04 100755 --- a/scripts/fixup_utf8.php +++ b/scripts/fixup_utf8.php @@ -249,7 +249,7 @@ class UTF8FixerUpper $sql = 'SELECT id, fullname, location, description FROM user_group ' . 'WHERE LENGTH(fullname) != CHAR_LENGTH(fullname) '. 'OR LENGTH(location) != CHAR_LENGTH(location) '. - 'OR LENGTH(description) != CHAR_LENGTH(description) '; + 'OR LENGTH(description) != CHAR_LENGTH(description) '. 'AND modified < "'.$this->max_date.'" '. 'ORDER BY modified DESC';