and password user properties. Thanks to jenzo from the forums!
(garvinhicking)
Version 1.2 ()
------------------------------------------------------------------------
+ * Do not store an unnecessary config value for check_password
+ and password user properties. Thanks to jenzo from the forums!
+ (garvinhicking)
+
* Update spamblock plugin to update a .htaccess file with DENY
rules based on recent spammer IPs. EXPERIMENTAL.
global $serendipity;
serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}config where name='" . serendipity_db_escape_string($name) . "' AND authorid = " . (int)$authorid);
+
+ if ($name == 'password' || $name == 'check_password') {
+ return;
+ }
+
$r = serendipity_db_insert('config', array('name' => $name, 'value' => $val, 'authorid' => $authorid));
if ($authorid === 0 || $authorid === $serendipity['authorid']) {