Merge pull request #1441 from CachetHQ/remove

Removed old code
This commit is contained in:
Graham Campbell
2016-02-02 20:18:24 +00:00

View File

@@ -13,29 +13,11 @@ namespace CachetHQ\Cachet\Repositories\Metric;
use CachetHQ\Cachet\Models\Metric;
use DateInterval;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\DB;
use Jenssegers\Date\Date;
class MySqlRepository implements MetricInterface
{
/**
* The timezone the status page is showing in.
*
* @var string
*/
protected $dateTimeZone;
/**
* Creates a new instance of the metric repository.
*
* @return void
*/
public function __construct()
{
$this->dateTimeZone = Config::get('cachet.timezone');
}
/**
* Returns metrics for the last hour.
*