summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-08-21 07:43:38 +0100
committerAndrew Dolgov <[email protected]>2006-08-21 07:43:38 +0100
commit9cd7c995e70be458e0843caacd492b59099f121d (patch)
treea933158b41ad274bd73b99d235adc22259c5fbe8 /backend.php
parent144a5ef8bcbaf2c92d51819d390fd6e8614fcf7f (diff)
implement support for daily digests
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 23f46282e..130be4a1f 100644
--- a/backend.php
+++ b/backend.php
@@ -3948,8 +3948,14 @@
if ($op == "digestTest") {
header("Content-Type: text/plain");
+ print_r(prepare_headlines_digest($link, $_SESSION["uid"]));
+ $print_exec_time = false;
+
+ }
- echo prepare_headlines_digest($link, $_SESSION["uid"]);
+ if ($op == "digestSend") {
+ header("Content-Type: text/plain");
+ send_headlines_digests($link);
$print_exec_time = false;
}