private static function db_error()
 {
     header('HTTP/1.1 500 Internal Server Error');
     if (self::xml_http_request()) {
         $result = new stdClass();
         $result->status = 'DB_ERROR';
         sns_send_response($result);
     } else {
         Sns_Log::log_msg('DB error');
     }
 }
function sns_backup_sns_review_off()
{
    if (get_option('sns_backup_review_off') === false) {
        add_option('sns_backup_review_off', 1);
    }
    $result = new stdClass();
    $result->status = 'OK';
    sns_send_response($result);
}