liam-linux-account-manager/model/syncrequest.php

20 lines
339 B
PHP
Raw Permalink Normal View History

2021-11-16 15:11:32 +01:00
<?php
/**
* Class that represents a request for key syncing
*/
class SyncRequest extends Record {
/**
* Defines the database table that this object is stored in
*/
protected $table = 'sync_request';
/**
* Mark this request as in progress
*/
public function set_in_progress() {
$this->processing = true;
$this->update();
}
}