Permalink
Browse files

Fixed use of reading functions (it had changed name)

  • Loading branch information...
martin
martin committed Aug 1, 2002
1 parent f98bb43 commit 07e1f189008f1eace3ff29c8af0c2c70b65fe75e
Showing with 3 additions and 3 deletions.
  1. +1 −1 course/social.php
  2. +2 −2 index.php
View
@@ -27,7 +27,7 @@
print_simple_box("Resources", $align="CENTER", $width="100%", $color="$THEME->cellheading");
- if ($readings = list_all_readings($course->id, "timemodified DESC", 0, true)) {
+ if ($readings = reading_list_all_readings($course->id, "timemodified DESC", 0, true)) {
foreach ($readings as $reading) {
$readingdata[] = $reading;
$readingicon[] = "<IMG SRC=\"../mod/reading/icon.gif\" HEIGHT=16 WIDTH=16 ALT=\"Reading\">";
View
@@ -26,7 +26,7 @@
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="5" CELLPADDING="5">
<TR>
<TD VALIGN="TOP" NOWRAP>
- <? $readings = list_all_readings();
+ <? $readings = reading_list_all_readings();
if ($site->newsitems > 0 or $readings or isediting($site->id)) {
@@ -77,7 +77,7 @@
if (isset($USER->id)) {
$SESSION->fromdiscussion = "$CFG->wwwroot";
- if (is_subscribed($USER->id, $newsforum->id)) {
+ if (forum_is_subscribed($USER->id, $newsforum->id)) {
$subtext = get_string("unsubscribe", "forum");
} else {
$subtext = get_string("subscribe", "forum");

0 comments on commit 07e1f18

Please sign in to comment.