fix indentation in Email_summary_status.php
This commit is contained in:
parent
59afc4aa56
commit
845b1cff72
@ -82,10 +82,10 @@ class Email_summary_status extends Memcached_DataObject
|
|||||||
function table()
|
function table()
|
||||||
{
|
{
|
||||||
return array('user_id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL,
|
return array('user_id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL,
|
||||||
'send_summary' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL,
|
'send_summary' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL,
|
||||||
'last_summary_id' => DB_DATAOBJECT_INT,
|
'last_summary_id' => DB_DATAOBJECT_INT,
|
||||||
'created' => DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME + DB_DATAOBJECT_NOTNULL,
|
'created' => DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME + DB_DATAOBJECT_NOTNULL,
|
||||||
'modified' => DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME + DB_DATAOBJECT_NOTNULL);
|
'modified' => DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME + DB_DATAOBJECT_NOTNULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -139,11 +139,11 @@ class Email_summary_status extends Memcached_DataObject
|
|||||||
{
|
{
|
||||||
$ess = Email_summary_status::staticGet('user_id', $user_id);
|
$ess = Email_summary_status::staticGet('user_id', $user_id);
|
||||||
|
|
||||||
if (!empty($ess)) {
|
if (!empty($ess)) {
|
||||||
return $ess->send_summary;
|
return $ess->send_summary;
|
||||||
} else {
|
} else {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -158,10 +158,10 @@ class Email_summary_status extends Memcached_DataObject
|
|||||||
{
|
{
|
||||||
$ess = Email_summary_status::staticGet('user_id', $user_id);
|
$ess = Email_summary_status::staticGet('user_id', $user_id);
|
||||||
|
|
||||||
if (!empty($ess)) {
|
if (!empty($ess)) {
|
||||||
return $ess->last_summary_id;
|
return $ess->last_summary_id;
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user