Indefero

Indefero Commit Details


Date:2009-11-01 16:07:33 (15 years 1 month ago)
Author:Mehdi Kabab
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:75280d6892909cae7504aff4426275277eb10524
Parents: 6c5fde77b466f3aa041f224488234684db44e1e4
Message:Fixed issue 325, unexpected reset SSH key.

Changes:

File differences

src/IDF/Form/UserAccount.php
155155
156156
157157
158
159
160
158161
159162
160163
164
161165
162
163166
164167
165168
$keys = $this->user->get_idf_key_list();
if ($keys->count() > 0) {
$key = $keys[0];
if ('' !== $this->cleaned_data['ssh_key']) {
$key->content = $this->cleaned_data['ssh_key'];
}
} else {
$key = new IDF_Key();
$key->user = $this->user;
$key->content = $this->cleaned_data['ssh_key'];
}
$key->content = $this->cleaned_data['ssh_key'];
if ($commit) {
$this->user->update();
if ($key->id != '') {

Archive Download the corresponding diff file

Page rendered in 0.07200s using 14 queries.