OC_Util::getVersion - the first value in the array is the major version.

Sent from mobile device

> On 29 May 2014, at 22:44, Volkan Gezer <notifications@github.com> wrote:
> 
> In lib/private/defaults.php:
> 
> > @@ -32,6 +33,7 @@ function __construct() {
> >  		$this->defaultBaseUrl = "https://owncloud.org";
> >  		$this->defaultSyncClientUrl = "https://owncloud.org/sync-clients/";
> >  		$this->defaultDocBaseUrl = "http://doc.owncloud.org";
> > +		$this->docVersion = "7.0"; // used to generate doc links (use only major version!)
> I could not manage to find a public OC version variable to use. Do we have one?
> 
> —
> Reply to this email directly or view it on GitHub.