You are here

public function UserNotificationSettings::deleteSettings in Comment Notify 8

Remove comment notification preferences for a user.

Parameters

int $uid: The user id.

File

src/UserNotificationSettings.php, line 84

Class

UserNotificationSettings
Defines the Comment notify user settings.

Namespace

Drupal\comment_notify

Code

public function deleteSettings($uid) {
  return $this->userData
    ->delete('comment_notify', $uid);
}