]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch 'master' of git.mxchange.org:/var/cache/git/repos/quix0rs-gnu-social...
authorRoland Haeder <roland@mxchange.org>
Fri, 27 Mar 2015 15:36:18 +0000 (16:36 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 27 Mar 2015 15:36:18 +0000 (16:36 +0100)
Conflicts:
actions/showstream.php
classes/Notice.php
lib/docfile.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
1  2 
actions/invite.php
classes/Notice.php
lib/docfile.php

Simple merge
index ee515595bbc7079e30892b07a3093b677f33ca13,3825e07a0f51745cd770f23c6c6e77491acc7e85..a6cf90da5555d86cba759b9ac223e8d2ca29d6a7
@@@ -2904,4 -2943,31 +2904,5 @@@ class Notice extends Managed_DataObjec
              $notice->_setReplies($ids);
          }
      }
 -    protected $_repeats = array();
 -
 -    function getRepeats()
 -    {
 -        if (isset($this->_repeats[$this->id])) {
 -            return $this->_repeats[$this->id];
 -        }
 -        $repeatMap = Notice::listGet('repeat_of', array($this->id));
 -        $this->_setRepeats($repeatMap[$this->id]);
 -        return $this->_repeats[$this->id];
 -    }
 -
 -    function _setRepeats(array $repeats)
 -    {
 -        $this->_repeats[$this->id] = $repeats;
 -    }
 -
 -    static function fillRepeats(array &$notices)
 -    {
 -        $ids = self::_idsOf($notices);
 -        $repeatMap = Notice::listGet('repeat_of', $ids);
 -        foreach ($notices as $notice) {
 -            $repeats = $repeatMap[$notice->id];
 -            $notice->_setRepeats($repeats);
 -        }
 -    }
  }
diff --cc lib/docfile.php
index 316aebb8726304430f411ff8489174d3f9eab660,2e2afbd014de511f6c3acb75fa04eee8e56e9006..583f7ebc9b3190353763ca2439f9d42f1815511c
@@@ -113,8 -105,8 +105,8 @@@ class DocFil
          $paths = array(INSTALLDIR.'/local/doc-src/',
                         INSTALLDIR.'/doc-src/');
  
 -        $site = StatusNet::currentSite();
 +        $site = GNUsocial::currentSite();
-         
          if (!empty($site)) {
              array_unshift($paths, INSTALLDIR.'/local/doc-src/'.$site.'/');
          }
          $paths = array(INSTALLDIR.'/local/mail-src/',
                         INSTALLDIR.'/mail-src/');
  
 -        $site = StatusNet::currentSite();
 +        $site = GNUsocial::currentSite();
-         
          if (!empty($site)) {
              array_unshift($paths, INSTALLDIR.'/local/mail-src/'.$site.'/');
          }