- $this->promo_sortie = $_sortie;
- $res = XDB::query("SELECT promo FROM auth_user_md5 WHERE user_id = {?}", $_user->id());
+ $this->newGradYear = $_newGradYear;
+ $res = XDB::query("SELECT entry_year
+ FROM profile_education
+ WHERE uid = {?} AND FIND_IN_SET('primary', flags)", $this->user->id());
+ $this->entryYear = $res->fetchOneCell();
+ $this->oldGradYear = $this->entryYear + 3;