{"action":"created","issue":{"url":"https://api.github.com/repos/RainLoop/rainloop-webmail/issues/975","repository_url":"https://api.github.com/repos/RainLoop/rainloop-webmail","labels_url":"https://api.github.com/repos/RainLoop/rainloop-webmail/issues/975/labels{/name}","comments_url":"https://api.github.com/repos/RainLoop/rainloop-webmail/issues/975/comments","events_url":"https://api.github.com/repos/RainLoop/rainloop-webmail/issues/975/events","html_url":"https://github.com/RainLoop/rainloop-webmail/issues/975","id":139866620,"number":975,"title":"owncloud 9 upgrade","user":{"login":"Loki3000","id":12333165,"avatar_url":"https://avatars.githubusercontent.com/u/12333165?v=3","gravatar_id":"","url":"https://api.github.com/users/Loki3000","html_url":"https://github.com/Loki3000","followers_url":"https://api.github.com/users/Loki3000/followers","following_url":"https://api.github.com/users/Loki3000/following{/other_user}","gists_url":"https://api.github.com/users/Loki3000/gists{/gist_id}","starred_url":"https://api.github.com/users/Loki3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Loki3000/subscriptions","organizations_url":"https://api.github.com/users/Loki3000/orgs","repos_url":"https://api.github.com/users/Loki3000/repos","events_url":"https://api.github.com/users/Loki3000/events{/privacy}","received_events_url":"https://api.github.com/users/Loki3000/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-03-10T11:55:55Z","updated_at":"2016-05-17T18:58:16Z","closed_at":"2016-05-17T18:58:16Z","body":"Hi!\r\nAfter upgrading to OC9 rainloop lost datadir. The reason is class OC_Config is no longer exists.\r\n I have changed\r\n```php\r\nif (class_exists('OC_Config'))\r\n{\r\n    $sData = rtrim(trim(OC_Config::getValue('datadirectory', '')), '\\\\/').'/';\r\n}\r\n```\r\nto\r\n\r\n```php\r\n$sData = rtrim(trim(OC::$server->getSystemConfig()->getValue('datadirectory', '')), '\\\\/').'/';\r\n```\r\nin RainLoopHelper.php, and now it's work well. So its need to upgrade app version."},"comment":{"url":"https://api.github.com/repos/RainLoop/rainloop-webmail/issues/comments/219818875","html_url":"https://github.com/RainLoop/rainloop-webmail/issues/975#issuecomment-219818875","issue_url":"https://api.github.com/repos/RainLoop/rainloop-webmail/issues/975","id":219818875,"user":{"login":"RainLoop","id":5530092,"avatar_url":"https://avatars.githubusercontent.com/u/5530092?v=3","gravatar_id":"","url":"https://api.github.com/users/RainLoop","html_url":"https://github.com/RainLoop","followers_url":"https://api.github.com/users/RainLoop/followers","following_url":"https://api.github.com/users/RainLoop/following{/other_user}","gists_url":"https://api.github.com/users/RainLoop/gists{/gist_id}","starred_url":"https://api.github.com/users/RainLoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RainLoop/subscriptions","organizations_url":"https://api.github.com/users/RainLoop/orgs","repos_url":"https://api.github.com/users/RainLoop/repos","events_url":"https://api.github.com/users/RainLoop/events{/privacy}","received_events_url":"https://api.github.com/users/RainLoop/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T18:58:16Z","updated_at":"2016-05-17T18:58:16Z","body":"Last version should work with ownCloud 9."}}