~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/auth_pam/auth_pam.cc

Added polymorphic add/remove methods around slot add/remove methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
static int initialize(drizzled::plugin::Registry &registry)
113
113
{
114
114
  auth= new Auth_pam();
115
 
  registry.authentication.add(auth);
 
115
  registry.add(auth);
116
116
  return 0;
117
117
}
118
118
 
121
121
 
122
122
  if (auth)
123
123
  {
124
 
    registry.authentication.remove(auth);
 
124
    registry.remove(auth);
125
125
    delete auth;
126
126
  }
127
127