Skip to content

Commit

Permalink
Item1537: fixed failing tests, inspired by the original CDot code, ho…
Browse files Browse the repository at this point in the history
…wever I still don't understand the problem (I don't know why it was broken before and why it's not now)

git-svn-id: http://svn.foswiki.org/trunk@3868 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GilmarSantosJr authored and GilmarSantosJr committed May 10, 2009
1 parent 151a016 commit 558622c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions core/lib/Foswiki/Prefs.pm
Expand Up @@ -202,12 +202,7 @@ sub loadPreferences {
my $obj;

if ( $topicObject->topic() ) {
if ( $topicObject->text() ) {
$obj = Foswiki::Prefs::TopicRAM->new($topicObject);
}
else {
$obj = $this->_getBackend($topicObject);
}
$obj = Foswiki::Prefs::TopicRAM->new($topicObject);
}
elsif ( $topicObject->web() ) {
$obj = $this->_getWebPrefsObj( $topicObject->web() );
Expand Down

0 comments on commit 558622c

Please sign in to comment.