REFACTOR: Remove Discourse.Model

This commit is contained in:
Robin Ward
2019-11-08 14:13:35 -05:00
parent fa71919693
commit f03edb36be
35 changed files with 90 additions and 96 deletions
@@ -1,7 +1,8 @@
import discourseComputed from "discourse-common/utils/decorators";
import { ajax } from "discourse/lib/ajax";
import EmberObject from "@ember/object";
const VersionCheck = Discourse.Model.extend({
const VersionCheck = EmberObject.extend({
@discourseComputed("updated_at")
noCheckPerformed(updatedAt) {
return updatedAt === null;