예제 #1
0
파일: entry.php 프로젝트: AdiTal/server
 public function syncCategories()
 {
     if (!$this->is_categories_modified) {
         return;
     }
     if (!kEntitlementUtils::getEntitlementEnforcement() || !kEntitlementUtils::isKsPrivacyContextSet()) {
         categoryEntryPeer::syncEntriesCategories($this, $this->is_categories_names_modified);
     }
     parent::save();
     $this->is_categories_modified = false;
 }