Changeset de92cf for install


Ignore:
Timestamp:
04/09/15 20:25:18 (4 years ago)
Author:
pierre-alain <pierre-alain@…>
Branches:
master
Children:
a9717b
Parents:
7fb240
git-author:
pierre-alain <pierre-alain@…> (04/09/15 20:25:18)
git-committer:
pierre-alain <pierre-alain@…> (04/09/15 20:25:18)
Message:

remove obsolete openid feature

Location:
install
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • install/cfg-dist.php

    r19b5ce rde92cf  
    123123/**************************************** STOP EDITING HERE ****************************************/ 
    124124 
    125 // OpenID 
    126 $cfg['openIDUrl']               = 'http'.($cfg['httpsecure'] ? 's' : '').'://'.$cfg['url']; 
    127 $cfg['openIDReturn']            = $cfg['surl'].'?do=verifyOpenID&try=1'; 
    128  
    129125// version 
    130126$cfg['version']                 = '0.2.1'; 
     
    159155    { // external libraries 
    160156        $f = HOME_PATH."libs".DIRECTORY_SEPARATOR.str_replace('_', DIRECTORY_SEPARATOR, $c).'.php'; 
    161         $fOpenID = HOME_PATH."libs".DIRECTORY_SEPARATOR."openID".DIRECTORY_SEPARATOR.str_replace('_', DIRECTORY_SEPARATOR, $c).'.php'; 
    162157        if(!file_exists($f)) 
    163         { 
    164             if(!file_exists($fOpenID)) 
    165             { 
    166                 return false; 
    167             } 
    168             $f = $fOpenID; 
    169         } 
     158            return false; 
    170159    } 
    171160    elseif(false !== $ns) 
  • install/init_db.sql

    r077f3f rde92cf  
    259259  `lang` varchar(7) collate utf8_unicode_ci NOT NULL default 'fr_FR', 
    260260  `email` varchar(255) collate utf8_unicode_ci NOT NULL default '', 
    261   `openid` varchar(255) collate utf8_unicode_ci NOT NULL, 
    262261  `timezone` varchar(255) collate utf8_unicode_ci NOT NULL default 'Europe/Paris', 
    263262  `config` longtext collate utf8_unicode_ci NOT NULL, 
     
    265264  UNIQUE KEY `name` (`login`), 
    266265  UNIQUE KEY `email` (`email`), 
    267   KEY `openid` (`openid`), 
    268266  CONSTRAINT `users_ibfk_1` FOREIGN KEY (`id`) REFERENCES `objects` (`id`) ON DELETE CASCADE 
    269267) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
Note: See TracChangeset for help on using the changeset viewer.