diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-01-11 02:39:25 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-01-11 02:39:25 +0300 |
commit | c5410b0784a64e7c75c4b7da6e10f10a51fdd532 (patch) | |
tree | 5389fb923115854a6e92decf792f4616016a091f /lib/Model | |
parent | aa1ba7c9f928d2f8173f43ce76352332710dcff6 (diff) |
rename index status
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Model')
-rw-r--r-- | lib/Model/Index.php | 2 | ||||
-rw-r--r-- | lib/Model/ProviderIndexes.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Model/Index.php b/lib/Model/Index.php index 1f432f0..f25da7e 100644 --- a/lib/Model/Index.php +++ b/lib/Model/Index.php @@ -32,7 +32,7 @@ class Index implements \JsonSerializable { const INDEX_IGNORE = 2; const INDEX_META = 4; const INDEX_CONTENT = 8; - const INDEX_ALL = 12; + const INDEX_FULL = 12; const INDEX_REMOVE = 16; const INDEX_FAILED = 32; diff --git a/lib/Model/ProviderIndexes.php b/lib/Model/ProviderIndexes.php index f9ce3e9..510666c 100644 --- a/lib/Model/ProviderIndexes.php +++ b/lib/Model/ProviderIndexes.php @@ -66,7 +66,7 @@ class ProviderIndexes { $index = $this->getIndex($document->getId()); if ($index === null) { $index = new Index($document->getProviderId(), $document->getId()); - $index->setStatus(Index::INDEX_ALL); + $index->setStatus(Index::INDEX_FULL); $index->setLastIndex(); } |