Add option to Twitter settings for importing Friends Timeline
This commit is contained in:
@@ -57,13 +57,19 @@ class Foreign_link extends Memcached_DataObject
|
||||
return null;
|
||||
}
|
||||
|
||||
function set_flags($noticesync, $replysync, $friendsync)
|
||||
function set_flags($noticesend, $noticerecv, $replysync, $friendsync)
|
||||
{
|
||||
if ($noticesync) {
|
||||
if ($noticesend) {
|
||||
$this->noticesync |= FOREIGN_NOTICE_SEND;
|
||||
} else {
|
||||
$this->noticesync &= ~FOREIGN_NOTICE_SEND;
|
||||
}
|
||||
|
||||
if ($noticerecv) {
|
||||
$this->noticesync |= FOREIGN_NOTICE_RECV;
|
||||
} else {
|
||||
$this->noticesync &= ~FOREIGN_NOTICE_RECV;
|
||||
}
|
||||
|
||||
if ($replysync) {
|
||||
$this->noticesync |= FOREIGN_NOTICE_SEND_REPLY;
|
||||
|
Reference in New Issue
Block a user