Overview
Comment:Méthode inutilisée
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 88062b512b5c495819c3da5457117fe09c53bd3c
User & Date: bohwaz on 2019-02-19 16:17:55
Other Links: branch diff | manifest | tags
Context
2019-02-19
16:20
Correction notices retournées par PHPStan check-in: df4616eedb user: bohwaz tags: dev
16:17
Méthode inutilisée check-in: 88062b512b user: bohwaz tags: dev
2019-02-18
17:34
Ajout gestion des lignes dans les mouvements check-in: 92219561f9 user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/Membres/Categories.php from [5b61a5fe1b] to [ab5f67e8e6].

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
        'connexion' =>  Membres::DROIT_ACCES,
        'membres'   =>  Membres::DROIT_ACCES,
        'compta'    =>  Membres::DROIT_ACCES,
        'wiki'      =>  Membres::DROIT_ACCES,
        'config'    =>  Membres::DROIT_AUCUN,
    ];

    static public function getDroitsDefaut()
    {
        return $this->droits;
    }

    protected function _checkData(&$data)
    {
        $db = DB::getInstance();

        if (!isset($data['nom']) || !trim($data['nom']))
        {
            throw new UserException('Le nom de catégorie ne peut rester vide.');







<
<
<
<
<







15
16
17
18
19
20
21





22
23
24
25
26
27
28
        'connexion' =>  Membres::DROIT_ACCES,
        'membres'   =>  Membres::DROIT_ACCES,
        'compta'    =>  Membres::DROIT_ACCES,
        'wiki'      =>  Membres::DROIT_ACCES,
        'config'    =>  Membres::DROIT_AUCUN,
    ];






    protected function _checkData(&$data)
    {
        $db = DB::getInstance();

        if (!isset($data['nom']) || !trim($data['nom']))
        {
            throw new UserException('Le nom de catégorie ne peut rester vide.');