Branch: Tag:

2006-12-07

2006-12-07 12:12:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added warning for unconfigured ProviderChoice.

Rev: server/etc/modules/Variable.pmod/module.pmod:1.98

1: - // $Id: module.pmod,v 1.97 2006/12/06 17:03:22 grubba Exp $ + // $Id: module.pmod,v 1.98 2006/12/07 12:12:47 grubba Exp $      #include <module.h>   #include <roxen.h>
1413:    }    }    +  array(string|mixed) verify_set( mixed new_value ) +  { +  if (!new_value) { +  return ({ "Not configured", 0 }); +  } +  return ({ 0, new_value }); +  } +     //! @param default_id    //! The @[RoxenModule.module_local_id] of the default value.    //! @param provides