From 891cad97a3a7749ad8228b704fa04d68601d33a8 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Thu, 2 May 2002 14:59:45 +0000 Subject: - clearing extra spaces from user.module. - patching weblogs.module. --- modules/weblogs.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/weblogs.module') diff --git a/modules/weblogs.module b/modules/weblogs.module index 3619124bf..ebd7671c6 100644 --- a/modules/weblogs.module +++ b/modules/weblogs.module @@ -14,9 +14,9 @@ function weblogs_help() { function weblogs_cron() { - if (variable_get("weblogs_ping", 0) && variable_get("site_name", 0) && variable_get("site_url", 0)) { + if (variable_get("weblogs_ping", 0) && variable_get("site_name", 0) && variable_get("site_slogan", 0)) { if (db_num_rows(db_query("SELECT nid FROM node WHERE status = 1 AND moderate = 0 AND (created > '". variable_get("weblogs_cron_last", time()) ."' OR changed > '". variable_get("weblogs_cron_last", time()) ."')"), 1)) { - weblogs_notify(variable_get("site_name", "") ." - ". variable_get("site_slogan", ""), variable_get("site_url", "")); + weblogs_notify(variable_get("site_name", "") ." - ". variable_get("site_slogan", ""), path_uri()); } variable_set("weblogs_cron_last", time()); -- cgit v1.2.3