svn: /web/php-master/trunk/scripts/ event-weekly-email
| From: | Philip Olson | Date: | Thu, 10 Mar 2011 00:23:54 +0000 |
| Subject: | svn: /web/php-master/trunk/scripts/ event-weekly-email | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-10606@lists.php.net to get a copy of this message | ||
philip Thu, 10 Mar 2011 00:23:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=309061
Log:
Added missing functions.inc include (spotted by Dan)
Changed paths:
U web/php-master/trunk/scripts/event-weekly-email
Modified: web/php-master/trunk/scripts/event-weekly-email
===================================================================
--- web/php-master/trunk/scripts/event-weekly-email 2011-03-09 23:39:23 UTC (rev 309060)
+++ web/php-master/trunk/scripts/event-weekly-email 2011-03-10 00:23:54 UTC (rev 309061)
@@ -3,6 +3,7 @@
This checks for unapproved events, and emails php-webmaster@ if they exist.
It should be checked weekly (via cron).
*/
+require dirname(__FILE__) . '/../include/functions.inc';
$query = 'SELECT COUNT(*) FROM phpcal WHERE NOT approved';
$count = db_get_one($query);