{"action":"created","issue":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2120","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2120/labels{/name}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2120/comments","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2120/events","html_url":"https://github.com/zestedesavoir/zds-site/pull/2120","id":54952005,"number":2120,"title":"Fixes #2094: Suppression d'une classe inutile.","user":{"login":"SpaceFox","id":5786268,"avatar_url":"https://avatars.githubusercontent.com/u/5786268?v=3","gravatar_id":"","url":"https://api.github.com/users/SpaceFox","html_url":"https://github.com/SpaceFox","followers_url":"https://api.github.com/users/SpaceFox/followers","following_url":"https://api.github.com/users/SpaceFox/following{/other_user}","gists_url":"https://api.github.com/users/SpaceFox/gists{/gist_id}","starred_url":"https://api.github.com/users/SpaceFox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpaceFox/subscriptions","organizations_url":"https://api.github.com/users/SpaceFox/orgs","repos_url":"https://api.github.com/users/SpaceFox/repos","events_url":"https://api.github.com/users/SpaceFox/events{/privacy}","received_events_url":"https://api.github.com/users/SpaceFox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-20T22:47:44Z","updated_at":"2015-01-20T22:48:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2120","html_url":"https://github.com/zestedesavoir/zds-site/pull/2120","diff_url":"https://github.com/zestedesavoir/zds-site/pull/2120.diff","patch_url":"https://github.com/zestedesavoir/zds-site/pull/2120.patch"},"body":"| Q                         | R\r\n| ------------------------- | -------------------------------------------\r\n| Correction de bugs ?      | Oui\r\n| Nouvelle Fonctionnalité ? | Non\r\n| Tickets concernés         | #2094 \r\n\r\nOn avait, au niveau des forums, un indicateur qui disait \"ce forum contient des messages non lus\". Indicateur jamais utilisé à l'affichage.\r\n\r\nProblème : pour positionner cet indicateur, on bouclait sur la liste des forums, et pour chacun des forums on parcourait la liste des topics jusqu'à en trouver un lu. Ce qui peut vite devenir _très_ long...\r\n\r\nComme l'indicateur ne servait pas, je l'ai purement et simplement dégagé, et j'ai supprimé la méthode impliquée dans `Forum` (normalement elle ne sert nulle part ailleurs).\r\n\r\nÀ noter que ce problème [vient du code de Progdupeu.pl](https://bitbucket.org/MicroJoe/progdupeupl/src/6247a055acb5/pdp/forum/models.py#cl-82) qui lui utilise cet indicateur, et qui [a _légèrement_ amélioré son code depuis](https://bitbucket.org/MicroJoe/progdupeupl/src/62de1acc20f7673220deafa7464b2d8130a2841e/pdp/forum/models.py?at=master#cl-186).\r\n\r\n**Notes de QA** : vérifier qu'il n'y a aucune modification visible sur le module de tutos (navigation connectée, déconnectée et avec un compte tout neuf)."},"comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments/70750753","html_url":"https://github.com/zestedesavoir/zds-site/pull/2120#issuecomment-70750753","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2120","id":70750753,"user":{"login":"SpaceFox","id":5786268,"avatar_url":"https://avatars.githubusercontent.com/u/5786268?v=3","gravatar_id":"","url":"https://api.github.com/users/SpaceFox","html_url":"https://github.com/SpaceFox","followers_url":"https://api.github.com/users/SpaceFox/followers","following_url":"https://api.github.com/users/SpaceFox/following{/other_user}","gists_url":"https://api.github.com/users/SpaceFox/gists{/gist_id}","starred_url":"https://api.github.com/users/SpaceFox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpaceFox/subscriptions","organizations_url":"https://api.github.com/users/SpaceFox/orgs","repos_url":"https://api.github.com/users/SpaceFox/repos","events_url":"https://api.github.com/users/SpaceFox/events{/privacy}","received_events_url":"https://api.github.com/users/SpaceFox/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T22:48:22Z","updated_at":"2015-01-20T22:48:22Z","body":"PS : Je remonte le truc à Microjoe."}}