Beispiel #1
0
 function saveMirror()
 {
     if ($this->oprofile->subscribe()) {
         SubMirror::saveMirror($this->user, $this->profile);
     } else {
         $this->serverError(_m("Could not subscribe to feed."));
     }
 }
Beispiel #2
0
 function saveMirror()
 {
     if ($this->oprofile->subscribe()) {
         SubMirror::saveMirror($this->user, $this->profile);
     } else {
         // TRANS: Exception thrown when a subscribing to a feed fails.
         $this->serverError(_m('Could not subscribe to feed.'));
     }
 }
Beispiel #3
0
 protected function saveMirror()
 {
     $this->oprofile->subscribe();
     SubMirror::saveMirror($this->user, $this->profile);
 }